Multiple subdomains and outlinks - how to set this up in Tag Manager

Hi,

We are tracking domain www.site.com + multiple subdomains such as test.site.com.

How do we set tracking for these in Matomo Tag Manager using? What should we add to Cookie Domain and what should we add do Cookie Path? We have already set all of wanted domains under Websites Management, URL’s.

At the moment all pages are showing under Outlinks report, which is not the purpose at the moment.

Please let us know how to fix this, as we would like to sort this through TMS, without coding site any more.

-Antti

Hi there,

I solved a similar issue some days ago.
I had a doubt that MTM was working as you are suggesting, so I added a custom HTML tag in MTM and used the documentation from developer.matomo.org.

Hope that helps,

Thanks @ChardonneauR!

Do you mean this documentation JavaScript Tracking Client: Integrate - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3 ?

If not, please share direct link to documentation, thanks!

1 Like