Hi!
We want to change our approach from Matomo tracking to Tag Manager to benefit from the additional features.
Due to customer requirements, current tracking data is saved in two site IDs: the published live page (1) and the pages per market (2, 3, 4, 5, etc.).
That way we can provide customer HQ overall live data, and market editors get insights in the tracking data just of their market version.
How can we implement that in Tag Manager?
- We prepared a general page view trigger
- We prepared variables per site ID (live page, market versions)
- We prepared tags
But we cannot combine variables for 2 IDs in variables or tags
Do we need to inject custom JS to push the data to both IDs?
UPDATE:
I’m thinking of filtering the trigger via URL path. Maybe this way I can trigger page views of different URL paths and send data to more than one site ID which is set in the variables:
1 trigger for www.domain.com → sends data to ID (1)
1 trigger for www.domain.com/uk/ → sends data to ID (2)
My understanding is that both triggers should fire if there is a page view of www.domain.com/uk/home.html
Unfortunately I have to wait for the next deployment before I can test it
Thanks a lot and regards
Thorsten