Why are focus items in an iframe?


I just checked my matomo analytics and looked quite some time for click stats on my focus items.

Then, I realized: Focus items create an additional iframe.

Now I’m wondering: What is the rationale behind this? Wouldn’t it be better if focus items were “inline html”?

That way analytics could track events from the FIs, too.

I guess that I probably could add a tracking script to the iframe, but this would mean

  • an additional web-request
  • a general more complex setup