Skip to content

SGTM.space power-ups: when to turn them on

Your server container already moves GA4 hits to your own domain. The SGTM.space add-ons go further: they load GTM itself from your domain, keep cookies alive longer, keep bots out of your data, add visitor context to every request and bring backend requests into server Preview. Each one is a switch in the container, and this lesson explains which ones you need and in what order.

Intermediate 9 min read Version 1.10, updated October 4, 2026

What you will learn

  • Set up Better Loader with its DNS record and replace your GTM snippet.
  • Decide which of Cookie Extender, Bot Filtering, Request Enricher, Request Proxy and Preview Mode fit your setup.
  • Know which add-ons depend on Better Loader.

Before you start

  • A container running on SGTM.space with GA4 sending to it (lesson 3).
  • Access to your DNS and to the code or CMS where the GTM snippet is installed.

01 Where the add-ons live

Open a container and go to Add-ons. Each add-on is a card with an Enable button. For Better Loader you first enter your Web GTM container ID on the card. Once an add-on is on, Settings on its card opens its settings page. Changes usually reach the edge within a minute.

  • Better Loader and Preview Mode are available on every plan, the free one included.
  • Cookie Extender, Bot Filtering, Request Proxy and Request Enricher are included in every paid plan.
  • Cookie Extender, Request Proxy and Bot Filtering's dataLayer option require Better Loader, as does every add-on that runs on your page. Request Enricher, Preview Mode and Bot Filtering itself work with any snippet. Turning Better Loader off turns its dependents off too.
  • A card outside your plan shows which plan it is available from. If you move to a plan without an add-on, it is switched off and its settings are kept.

Live Logs requires Better Loader too: its script brings the page agent to the tester's page.

Live Logs Enhance, the last add-on on the Add-ons tab, is optional: two GTM tag templates that let Live Logs also show which tags fired in your web and server containers. Switch it on to open its setup page, with one part for the web container and one for the server container: the steps, the download and a check for each. The server check sends one test event through your server container, and only when you ask for it.

02 Better Loader: load GTM from your own domain

Normally the browser downloads gtm.js from googletagmanager.com, which ad blockers know well. Better Loader serves it from your own load domain, such as load.k7q2x.example.com, under a random script name with no GTM ID in the URL. Blockers that match on Google's domain have nothing to match, so more visits load your tags at all.

When to enable it: almost always. It is the base for the other add-ons and it recovers the data that is lost before any tag runs.

  1. 1 On Add-ons, enter your Web GTM container ID on the Better Loader card (the GTM-XXXXXXX of the container on your website, not the server container) and click Enable.
  2. 2
    Go to the DNS tab and find the CNAME for the load domain. The tab lists it from the start, so it may be verified already. If not, add it where your DNS is managed (DNS only on Cloudflare) and click Check DNS.
    Type
    CNAME
    Name
    load.k7q2x
    Value
    eu.sgtm.space
    Proxy
    DNS only
  3. 3 Wait until the loader is live. After the DNS check passes, the HTTPS certificate is issued automatically, which usually takes a few minutes.
  4. 4 Copy the Install snippet and replace your current GTM snippet in the <head> with it. Copy the Noscript fallback and put it right after the opening <body> tag in place of the old noscript block.
  5. 5 Reload your site in a normal window (not GTM Preview) and open DevTools. A script with a random name should load from load.k7q2x.example.com, and requests should go to your tagging subdomain. With Request Proxy on they no longer contain collect, so filter by the domain.
Optional: speed up the first load

Copy the Optional: speed up the first load lines from the Better Loader page and paste them high in the <head>, before the install snippet. They tell the browser to connect to your load domain while the page is still loading, which usually saves 50 to 300 ms on a phone. They change nothing in your tracking.

Optional: a tag serving path

Set a Tag serving path, and GTM loads its Google tag scripts (gtag.js for GA4 and Google Ads) from your tagging domain under an encoded address. In the server container, open the Google Tag Manager: Web Container client, add your web container ID and the Google tag IDs it uses to the allowed IDs, and copy the path listed next to your GTM container ID into Better Loader. Your site snippet does not change.

04 Bot Filtering and Request Enricher

Bot Filtering recognises clearly automated traffic at the edge, for example requests with no User-Agent, crawler or HTTP library User-Agents, or requests missing the headers every browser sends. It is analytics hygiene, not a security control. It has two modes:

Bot Filtering mode

Tracking hits from likely bots never reach your server container and are not billed. Traffic from cloud and hosting networks is only flagged, never blocked, because VPNs and company proxies exit there too.

When to enable it: when bots inflate your reports or your request count. HTTP libraries look like bots, so in Block mode requests from your backend, app or webhooks need an exception. /mp/collect is on the Exceptions list by default. Add any other path your backend or webhooks send to.

Request Enricher adds visitor context to every request your server container receives: country, time zone, network, device, browser and a bot flag, as request headers. Read them in server GTM with a Request Header variable, for example X-SGTM-Geo-Country, and send them to GA4 or another destination. Detailed location, including the IP address, stays off until you opt in. It does not need Better Loader.

When to enable it: when a server tag needs data the browser hit does not carry, such as device type or country for a CRM or ad platform.

05 Preview Mode: see backend requests in server Preview

Server Preview only shows requests that carry the preview header of your Tag Assistant session. Requests from webhooks, CRMs or your own backend do not carry it, so they never show up there. Preview Mode forwards them into your open server Preview session for 60 minutes. It is on every plan, the free one included, and does not need Better Loader.

  1. 1 Open Preview in your server container. In the top-right menu choose Send requests manually and copy the value of the X-Gtm-Server-Preview header.
  2. 2 On Add-ons, click Settings on the Preview Mode card and paste the value as the Preview token.
  3. 3 Optionally narrow it down with a Path prefix, such as /webhooks, and a Source IP. When both are set, both must match.
  4. 4 Click Save and start for 60 minutes, then send a test request from your backend and look for it in server Preview.

When to enable it: when you test purchases or refunds sent from your backend, Measurement Protocol calls or webhooks from a payment provider or CRM.

06 Google Tag Gateway: Google's tags from your own website

Google Tag Gateway loads GTM and the Google tag from a path on your website itself, such as www.example.com/Tg7Kq2mXab/, through Google Tag Gateway in your own Cloudflare account or CDN. The Google tag also sends its Google Ads pings through that path. It is included in every paid plan and requires Better Loader: your snippet stays, and Better Loader loads GTM itself if the gateway fails.

When to enable it: when your website runs behind Cloudflare or another CDN that supports the gateway, and you want Google's scripts and Ads pings on your own domain. Lesson 11 walks you through the setup.

Frequently asked questions

Do I need Better Loader if my hits already go to my subdomain?

Usually yes. The server container URL only moves the hits. Better Loader moves the GTM script itself, which is what many blockers stop first. Without it, a blocked gtm.js means no tags run at all.

Can I turn an add-on off again?

Yes. Each add-on has a disable section on its settings page, and you can switch it back on from Add-ons at any time. Turning off Better Loader also turns off every add-on that needs it, such as Cookie Extender and Request Proxy, so put your original GTM snippet back first.

How do I check that the add-ons work on my live site?

Open a page of your site in a normal window (not GTM Preview) with DevTools on the Network tab. A script with a random name should load from your load domain (for example load.k7q2x.example.com), and requests should go to your tagging subdomain. With Request Proxy on they no longer contain collect, so filter by the domain. The loader is cached for up to 5 minutes, so a newly published GTM version can take that long to reach visitors. Lesson 5 covers the other checks.

Related features

Ready to put it into practice?

Deploy a server GTM container on your own domain in a few minutes. The Free plan needs no card.

Create a free account