I work with a marketing agency. They want SST for their multiple clients. Different client different domain. So we have purchased Stape business account for multiple domains.
We have created first sGTM container in stape for our first client abc.com and connected stape sGTM with client’s server GTM. Everything works fine.
But now for another client with different domain, I want to connect his server GTM with stape server GTM container. But I can’t. Because current stape server container (business plan) is already connected with abc.com.
So How I can fix this? I want to connect different client’s server GTM with stape sGTM container and setup custom domain for each.
The business plan allows you to connect multiple domains to a single container, but not multiple containers.
This is typically used if there are multiple identical sites with different domains. Most often these are language versions of sites like abc.com, abc.de, abc.nl, etc.
In this way a multi-container can be configured to use one server container for all domains, here is an article about it: Server-side GTM with multiple domains - Stape
My requirement is:
For example there is 2 clients with 2 shopify ecommerce stores like abc_dot_com, xyz_dot_com I have a server GTM connected with Stape’s server container.
Now I configure custom domain for those 2 sites: sst_dot_abc_dot_com, sst_dot_xyz_com and then using 2 server urls in my 2 client’s 2 separate web GTM.
Then sending data using GA4 tag in web GTM to my server GTM:
server_container_url = https://sst.abc.com for client 1 web GTM
server_container_url = https://sst.xyz,com for client 2 web GTM
When I receive incoming request in my server GTM, I will fire my respective client’s tags in based on their host value like host = “sst_dot_abc_dot_com”