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.
I am sorry for the very delayed reply. We looked at the options and there are a few. A good one is building robust rules on DTM to deliver at the URL level, but for a few reasons we went another route.
We use two cloud services for each site. We leverage ACS Commons to easily do this.
1. Adobe Dynamic Tag Manager config for the global ID that we place on our global homepage. This is inherited on everything.
2. Generic Analytics Snippet config for each site that places the additional GA variables for the site level ID. This was simple this template:
There doesn't seem to be an obvious rule configuration in DTM to limit GA Product Profile 1 so that it only fires pages views on /product1 pages.
Have you had any success with your earlier question? I'm interested to know, seems like we are basically trying to do the same thing. I plan on contacting client care if I can't find a solution in this forum.