I’ve read in a thread from last year that different Tagging-Server URLs are not supported by the Shopify App. Any change on this? Have a client with different TLDs for the different Markets:
Hello @Robin_Heerich adding such functionality is in our backlog.
You can handle this outside of Stape App by injecting scripts directly into theme and/or custom pixels. You want a condition checking for location.hostname to server the relevant snippet/subdomain
Hey Dan, i have the same problem right now as Robin with a client.
I plan on manually inject custom loader / cookiekeeper on domain number 2. But what about datalayer and datalayer in checkout. Guess I also have to do that manually then?
@jeppe_Nielsen Unless you actively land people on checkout pages, it doesn’t make a difference which domains loads the container in the sandbox (meaning .de or .at etc).
So what the app provides for the custom pixel should be sufficient, so long as inside your setup you route the traffic correctly. Therefore you’d only need to handle pre-checkout.
If you above makes you feel dirty though, then sure, you can unpack the script the app provides and add additional loader and conditions to that.
so handling pre-checkout, i do need to manually deploy datalayer there then?
no, the app does it for you. just disable the GTM snippet part, don’t do anything with dataLayer tab. Pre-checkout all events will be properly pushed to your DL regardless of how you load the container
So I have to take “custom loader” code (for custom website and not for Shopify) from Stape and put it into a web pixel with logic for each subdomain and than keep enabled DataLayer in Stape GTM Shopify App copying the same code and pasting it into a web pixel right (disabling GTM embed code)?
And in theme code nothing (also GTM original code?) right?
In Webhook tab (Stape GTM App) what we gonna do? Which custom subdomain (with path) we’ll use?