I am brand new to GTM. I have setup two web containers and 1 server container in GTM.
- One web container is for mydomain
- The second web container is for sub.mydomain
- The FB pixel tags in each container are set up to use different pixel ids. I am using the Adsmurai template
- On the server container I have two clients, one for each pixel. They are setup to allow only mydomain and sub.mydomain respectively
- I have two separate CAPI tags, each one triggered by checking the pixel id.
When I run the Tag server preview it works fine for the root page but when I go to the subdomain page the Main client handles the request because the pixel id of the incoming request is for the root domain.
Maybe it is a problem with the Adsmurai template since they recently deprecated the custom server option.
Has anyone done what I am trying to accomplish?