We have a couple of linked websites where the user journey is domain.com → otherbit.domain.com, both of which have Matomo tracking on and are set up to use Matomo cookies across the root domain.
If a user arrives on domain.com with Marketing Campaign cookies, does Matomo “keep” these when the user moves across to the subdomain?
Thanks for sharing that. I’ve worked through the flow chart and I think the user should be keeping their mtm_campaign parameter as this should be set in a cookie.
I’ve checked by testing this across our two sites and I can see the campaign attribute is lost.
I’ve also checked the settings referred to by that flow which are currently set to:
I’ve just been chatting with a colleague who knows Matomo better than I and he’s pointed me to the Matomo documentation’s Javascript Tracking Guide (Measuring domains and/or subdomains).
From what he’s told me and what I can read, I understand this: If I have example.com set up as site ID 1 in Matomo and other.example.com as site ID 2, I cannot see user visits transitioning between to two unless I track both of these domains in the same site ID.