Resources

We’re here to help you!

Take a look into our knowledge base for any additional information.

Latest articles

60 articles
ARTICLE

Create Container

In this article we will guide you how to create a server side container on SprTags.

ARTICLE

Tools to use our Add-ons

Learn about basic tools and commands to be able to use our add-ons

ARTICLE

Migrating from Client-Side to Server-Side Tracking

Enhancing Your Data Accuracy and Security

ARTICLE

Custom Event Tracking with Google Tag Manager

How to set up and utilize custom event tracking in Google Tag Manager

ARTICLE

Benefits of server side tagging

What are the main benefits of server side tagging

ARTICLE

Better GDPR with server side tagging

Protect your users data with better GDPR

ARTICLE

Why Third-Party Cookies Are Being Phased Out

Understanding the changes in web privacy for online tracking

SGTM

Read POST JSON in sGTM: the runQueryString gotcha

A misnamed API and a parsing trap. Here is the working pattern for reading JSON bodies in Custom Templates.

5 May 2026 · 2 min read
REMARKETING

CSV import of products for dynamic remarketing

Generating the product feed from your warehouse is one query. Keeping it in sync is the longer story.

2 May 2026 · 2 min read
SGTM

The sGTM access control model nobody documents

Workspace permissions, container permissions, and the runtime auth token each control different things.

29 Apr 2026 · 2 min read
BIGQUERY

Forward BigQuery export to a webhook with sGTM

A reverse pipeline that lets you activate warehouse data as ad audience events with sGTM as the bridge.

23 Apr 2026 · 2 min read
GOOGLE-ADS

Dynamic remarketing events for Google Ads through sGTM

Sending product IDs and category data server-side gives Google Ads everything it needs for personalised remarketing.

20 Apr 2026 · 2 min read
MATOMO

Use a tagging server URL as the analytics endpoint for self-hosted Matomo

Matomo accepts a custom tracker URL. Pointing it at sGTM gives you the same first-party benefits Matomo deserves.

17 Apr 2026 · 2 min read
META-CAPI

Send Meta CAPI events with proper FBC and FBP

fbc and fbp are the cookies that tie your CAPI events back to the Pixel. Misformatting them hurts attribution silently.

14 Apr 2026 · 2 min read
GTM

Track form submissions through sGTM without breaking forms

GTM's form submission trigger is fragile. Here is the pattern that survives JavaScript-heavy frameworks and accessible forms.

11 Apr 2026 · 2 min read
GA4

The GA4 client setting nobody touches but should

Buried under "Advanced settings" is the toggle that determines whether your server enforces consent or trusts the browser to do it.

8 Apr 2026 · 2 min read
SGTM

Custom paths in sGTM: when to use them and when not

Custom paths help against ad blockers but cost a small amount of compatibility. Here is the trade-off in concrete terms.

5 Apr 2026 · 2 min read
SHOPIFY

Forward Shopify webhooks to GA4 via sGTM

Shopify webhooks fire reliably even when the customer closes the tab. Routing them through sGTM gives you bulletproof purchase tracking.

2 Apr 2026 · 2 min read
SGTM

Filter internal traffic at the server, not the client

IP-based exclusions in GA4 work when they work, and silently miss when they do not. Server-side filtering is more reliable.

30 Mar 2026 · 2 min read
DEDUPLICATION

The right way to dedupe across multiple destinations

One event_id, applied consistently across every destination, scales to as many platforms as you add.

27 Mar 2026 · 2 min read
META-CAPI

Conversion API gateway vs sGTM: pick one

Both move data server-side. They solve different problems and one of them is genuinely better for most teams.

24 Mar 2026 · 2 min read
KLAVIYO

Map Klaviyo events into sGTM via webhook

Klaviyo emits webhook events on every email open, click, and signup. Routing them through sGTM keeps the full picture in one warehouse.

21 Mar 2026 · 2 min read
SGTM

Use Stape Power-Up alternatives in SprTags

Most Power-Ups solve patterns you can implement in a Custom Template or rely on built-in SprTags features.

18 Mar 2026 · 2 min read
GTM

Pass URL parameters from client GTM to sGTM

Click IDs, UTM parameters, and gclid all need to survive the hop from page to tagging server. Here is how each one travels.

15 Mar 2026 · 2 min read
GTM

Schedule GTM workspace publishes during low-traffic windows

Workspace publishes are not zero-downtime. The failure mode is rare but worth scheduling around.

12 Mar 2026 · 3 min read
SGTM

Pre-launch checks before flipping the gtm.js loader

Six checks that catch the issues that always surface in production, run them in 15 minutes.

9 Mar 2026 · 2 min read
SGTM

Handle Black Friday traffic on your sGTM container

Three things to check the week before, and one thing to do on the day if events start dropping.

6 Mar 2026 · 3 min read
STRIPE

Tracking Stripe webhooks server-side without writing code

Configure Stripe to POST to your tagging server, set up a Webhook client, and route the events to GA4 and Meta in minutes.

3 Mar 2026 · 2 min read
GA4

page_view vs first_visit in GA4: what each one counts

Two events that look similar, count differently, and confuse new GA4 users every week.

28 Feb 2026 · 2 min read
CONSENT-MODE

Reading consent state from Cookiebot in sGTM

Cookiebot writes consent into a cookie that your tagging server can parse without a JavaScript dependency.

25 Feb 2026 · 2 min read
TIKTOK-CAPI

Set up TikTok Events API server-side in 12 steps

Each step has a verification check. If you skip any, the next one will not work, and the error message will not tell you which.

22 Feb 2026 · 2 min read
SGTM

The cost of running sGTM on Google App Engine vs SprTags

A side-by-side at three traffic tiers, with the hidden costs that the App Engine calculator does not surface.

19 Feb 2026 · 2 min read
SGTM

Forwarding raw POST bodies to a webhook destination

Sometimes the destination wants exactly what came in, byte for byte. Here is the pattern that does not mangle anything.

16 Feb 2026 · 2 min read
SGTM

Why your sGTM container suddenly returns 403

A working container that starts returning 403 has three common causes, each with a fast diagnostic.

13 Feb 2026 · 2 min read
META-CAPI

Debugging Meta CAPI in the Events Manager test tool

The test tool catches malformed events before they reach production. Here is what each warning actually means.

10 Feb 2026 · 3 min read
COOKIES

Server-side cookies: SameSite, Secure, and Path settings that work

Three flags determine whether your cookie survives ITP, third-party blocking, and the next browser update.

7 Feb 2026 · 2 min read
SGTM

Build a custom transformation for IP anonymisation

Strip the last octet, hash the whole address, or replace it with a coarse geo lookup. Pick one and apply it once.

4 Feb 2026 · 2 min read
GTM

Audit your tag manager in 30 minutes

A focused walk-through that surfaces stale tags, missing dedup, broken triggers, and the tags nobody owns.

1 Feb 2026 · 2 min read
SGTM

The CORS errors you will hit configuring sGTM, and how to clear them

Six error messages, what each one actually means, and the exact header configuration that fixes them.

29 Jan 2026 · 2 min read
GA4

Configuring the GA4 client to listen on a custom path

The default /g/collect path is well-known to ad blockers. A custom path takes 30 seconds and recovers a meaningful slice of events.

26 Jan 2026 · 2 min read
SGTM

SHA-256 in a Custom Template, with a working example

The crypto module is locked down. Here is what works, what does not, and the pattern for hashing user_data fields in bulk.

23 Jan 2026 · 2 min read
GA4

Lowering the GA4 thresholding limit by sending user_data

Thresholding hides demographic and interest data when sample sizes are small. Sending hashed user_data reduces it materially.

20 Jan 2026 · 2 min read
SGTM

Reading user_data from incoming requests in sGTM

The user_data object is where Meta, TikTok, and others expect matching keys. Six common shapes and how to extract them.

17 Jan 2026 · 2 min read
SGTM

The seven sGTM client templates worth knowing

Most teams use the GA4 client and one or two others. The remaining ones cover patterns that are easy to miss.

14 Jan 2026 · 2 min read
COOKIES

Storing first-party identifiers in HttpOnly cookies

The cookie that JavaScript cannot read is the cookie that ad blockers cannot delete. Trade-offs and patterns for getting it right.

11 Jan 2026 · 2 min read
GA4

Why your purchase events are double-counting

Five causes, in order of frequency, plus the diagnostic question that narrows it down in under a minute.

8 Jan 2026 · 3 min read
DNS

CNAME or A record for your tagging URL

Both work. One forces you to redo DNS when the upstream IP changes. Pick the one that survives.

5 Jan 2026 · 2 min read
ECOMMERCE

Migrating an ecommerce stack from web GTM to sGTM

Order matters. Migrate the read side first, then the write side, then turn off the duplicates.

2 Jan 2026 · 2 min read
LINKEDIN-CAPI

LinkedIn Conversions API and the business email problem

Match rates on LinkedIn live and die by the email key. The trick is recognising when a personal email is sitting in a business form.

30 Dec 2025 · 2 min read
SGTM

Block bot traffic at the tagging layer

A handful of patterns in the request stream account for most bot noise in your reports, and they are easy to filter at the container.

27 Dec 2025 · 2 min read
SGTM

The sGTM request flow from browser to destination

A request leaves the browser, lands in your container, runs through clients and tags, and exits to N destinations. Here is the full path.

24 Dec 2025 · 2 min read
META-CAPI

Deduplicating Pixel and CAPI events with event_id

A single shared event_id between browser and server prevents double-counting in Meta, TikTok, and LinkedIn.

21 Dec 2025 · 2 min read
GA4

Get GA4 events into BigQuery without sampling

The native export is good. The sGTM-driven export is better, especially for high-traffic sites and custom dimensions.

18 Dec 2025 · 2 min read
CONSENT-MODE

Consent Mode v2 signal mapping cheat sheet

Six consent signals, what each one controls, and where they need to land in your sGTM payloads.

15 Dec 2025 · 2 min read
SGTM

Picking a region for your sGTM container

Latency is mostly a vanity metric. Data residency and reseller billing are the choices that actually matter.

12 Dec 2025 · 2 min read
TIKTOK-CAPI

Why your TikTok Events API match rate is below 60 percent

TikTok has stricter requirements than Meta and quieter error messages. Six fixes that move the needle.

9 Dec 2025 · 2 min read
META-CAPI

Hash emails for Meta CAPI without losing match rate

SHA-256 is the easy part. The normalisation that has to happen first is where match rates are made or broken.

6 Dec 2025 · 2 min read
GA4

GA4 server-side client config, walked through

The default GA4 client in sGTM has six settings that matter, and most teams configure exactly two of them.

3 Dec 2025 · 2 min read
DEBUGGING

The X-Gtm-Server-Preview header, explained

Why your preview pane shows nothing, what the header actually does, and the three ways it gets lost.

30 Nov 2025 · 2 min read
CUSTOM-DOMAIN

Set up a custom domain for sGTM in 10 minutes

A custom subdomain in front of your tagging server is the single biggest configuration win, and DNS is the only part that takes any real time.

27 Nov 2025 · 2 min read