I’m working with a Salla store and I’d like to clarify the recommended way to connect Stape when considering a same-origin setup.
I have two related questions:
Is there any technical or platform limitation that prevents using a same-origin setup path with Cloudflare like /sgtm on Salla?
In practice, I noticed instability (410 responses, preview session issues) and I want to confirm whether same-origin is officially supported or simply not recommended for Salla stores.
If same-origin is used with Salla, is the Stape Salla app still required, or should the setup rely entirely on custom loader / manual injection?
My goal is:
Stable GA4 tracking
Reliable Meta/TikTok CAPI
Minimal maintenance and debugging
I’m trying to understand whether:
Same-origin + Salla is a valid production setup, or
The Stape Salla app + subdomain / default domain is the recommended approach.
Any official guidance or real production experience would be highly appreciated.
Thanks in advance!
Stape does support same-origin setups in general and there’s no hard “Salla blocks it” limitation to the best of our knowledge. However, a same-origin path setup should work consistently when the store’s main domain is fully behind Cloudflare and Cloudflare is configured correctly (SSL/TLS “Full”, correct routing rules, no caching/bot rules touching /sgtm). The 410s and preview session instability suggest this is less about Stape and more about how sensitive path-based routing is in a hosted SaaS environment like Salla, where you don’t control the underlying server behavior like on self-hosted.
Just to separate the roles: the Salla app is mainly for the platform-side integration (installing the web GTM snippet and handling Salla-specific pieces like dataLayer/webhooks). Same-origin is about how your server container endpoint is reached; depending on the platform/setup this is typically done via a domain/subdomain, and path-based routing may require a custom Cloudflare/Worker setup rather than app-only configuration.
So “do you still need the Stape Salla app?” — Yes, the app is still recommended because it solves the platform-side work (injecting GTM across the store + Salla-specific integration pieces like dataLayer/webhooks). If you skip the app, you’re choosing a fully manual/custom implementation.
Thank you, same-origin does work on Salla now, but path-based routing is extremely sensitive and requires strict separation between platform-side integration (Stape app) and networking (Cloudflare/Worker). Once those roles are separated and the app is used only for GTM injection while routing is handled externally, the setup becomes stable.*