I’ve been trying to configure a stape gateway for my google ads tracking by following your documentation to the letter, but the tracking http requests of my website keep on being sent to google directly instead of the subdomain of the stape gateway.
Thinking about it, there was no way my gtm could be aware of the stape gateway subdomain with the suggested configuration.
Shouldn’t I configure the server_container_url option with the stape gateway url ?
We need more details about your configuration, including screenshots and link to the site in question.
There are three components required for the Gateway to work:
Your GA4 and Google Ads configurations have been set up within your web GTM container. There is no need to specify the server_container_url.
On the Stape side, you have created Stape GW, added your web GTM container and connected your subdomain.
You have generated and added a Custom Loader in place of your standard GTM snippet.
That’s it – your GA4 and Google Ads requests should now be running via the server-side.
If you have done everything correctly, one possible reason could be that you have some kind of parallel GA4/Google Ads integration in place (for example, via a plugin or gtag() snippets in the code), which causes the configuration to be overwritten when the page loads.