Support same-origin on a multidomain Stape container for all domains

I’m surprised no one has ever talked about this before, but I recently wanted to implement same-origin approach for a client that have two local domains (localized for two different markets).

When switching from a subdomain tagging URL to the same-origin tagging URL, the implementation for one website worked, but for the other didn’t, even though I had exactly the same settings in Cloudflare (with the exception of the domain name, of course).

I went back and forth with support until I understood that I can only have one domain with same-origin approach configured in the same multidomain Stape container. All others must be subdomain configurations.

Not exactly sure, why this is the case, but is there any plan to support having all domains in the single Stape container configured with the same-origin approach?

Otherwise we need to either switch to the subdomain configuration, or open new Stape containers for each domain, which also means I cannot have a multidomain configuration inside sGTM, because only one Stape container can be connected to the sGTM.

Hi,
As far as I know, there is no such limitation on Stape’s end. A single multi-domain Stape container can be used with multiple domains configured using the Same Origin approach.

If one domain worked while another did not despite having the same configuration, the issue was most likely related to the Same Origin configuration for that specific domain (for example, in the Cloudflare or DNS settings), rather than to any limitation of the Stape container itself.