alejak
January 31, 2025, 6:53pm
1
Can I have multiple sGTMs for different subdomains of the same domain?
I have a domain: example.com
And I want to install a store for courses in Spanish on the subdomain: es.example.com
And I also want to install a store for the same courses but in English on the subdomain: en.example.com
The idea is to create two sGTMs.
Should I have two different stape accounts, right?
In that case, how should I configure the custom subdomains in stape for each account?
ss.es.example.com
ss.en.example.com
I’m not quite sure how this works, I’d appreciate it if someone could tell me how to do this correctly, or if it’s not possible.
Dan
January 31, 2025, 6:56pm
2
You don’t need multiple subsomains and multiple containers for this, both es. and en. are subdomains for the same top-level, making it so that both share 1st party context.
Your setup should be a single subdomain like ss.example.com , which both en. and es. sites would use as a server_container_url.
1 Like
alejak
February 3, 2025, 4:54pm
3
But then in my GTM can I have a different pixel installed for each site even though they both share the same server_container_url ?
It doesn’t mix up the information or anything like that, right?
1 Like
Yes, you can.
you can achieve this by using look up table variable.