添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

I use the normal JS tracking code to implement matomo to my website.

I’ve just added the tag manager code aswell. Since then everything is tracked twice.
I’m not talking about events that appear next to the normal “tracking” (switching pages on the website).
Everything is twice. When I go to another page I have two entries for the exact same thing.

Aren’t this two methods meant to be used together? Do I have to load something first (tag manager or regular matomo) to make this work?

Thank you for you help!

In MTM, if you create a trigger on PageView event, and then create a Matomo tag (PageView event) on triggered on the trigger just created at the previous step, then you can remove the JavaScript bootstrap (as it also sends a PageView event to Matomo)
I would suggest you mostly use MTM instead of regular JS, as it is more flexible in the configuration…
Have a look at (especially on intro and training videos):