Matomo Tag Container Size

Hi All,

We are considering moving to Matomo Tag Manager and I had a question on the maximum size of the container. GTM is 200KB, is there a limit for the Matomo Tag Manager?

Thanks

Simon

Hi Simon,

Indeed, this is a very interesting question.
But honestly, I never reached the limit in eg. GTM.
So it would be very interesting to mirror this setup in Matomo Tag Manager and see how it would work.

Hi,

I don’t think there is a size, why would one hardcode one? For Google, it might make sense that you don’t use their servers to distribute a 1 GB JS file that contains a video, but with Matomo Tag Manager that should not matter (at least when you self host).

But that said, you should always try to keep JS as small as possible as it has to be executed on every page load.