DTM + Google Analytics config for multiple property IDs
We have a global property ID and site level IDs and I'm looking for the best way to implement.
Examples that need to be covered:
- www.domain.com - property ID 1
- www.domain.com/dept1 - property ID 1 + property ID 2
- dept2.domain.com - property ID 1 + property ID 3
The scripts on the page should not duplicate Google Analytics code, it should simply send 1 or more property IDs in the single call. I have tried using rules to insert a second ID, but that doesn't seem to work. I don't want to have to setup a unique property in DTM and a unique cloud config in AEM. I want to control the filter on DTM and use a single cloud config on AEM if possible
Environment: Pages are in AEM and the scripts are loaded by the ACS Commons DTM cloud configuration service.