Which platforms support server-side Google Tag Manager?
Which container does GA4, Meta, TikTok or Shopify need for accurate tracking? Interactive checker + config steps for each platform in sGTM.

Head of Marketing
20 min read

Server-side Google Tag Manager (sGTM) supports many advertising and analytics platforms, like GA4, Google Ads, Meta, TikTok, Pinterest, LinkedIn, Snapchat, Klaviyo, and ActiveCampaign. E-commerce data layers are available for CMSs including WordPress, Shopify, Lightspeed, Magento, WooCommerce, and PrestaShop. Mobile apps on iOS and Android are also supported.
Where each platform goes (web container, server container, or both) determines whether your conversion data is accurate.
This article explains the why behind each placement decision, what breaks when you get it wrong, and what sGTM hosting providers like TAGGRS handle at the infrastructure level that the container setup alone can’t fix. And if you already know your platform(s), use the interactive checker below to jump straight to the configuration steps.
What is a GTM server container, and what does it host?
A GTM server container runs on a hosted server and executes tags server-to-server, separate from the visitor’s browser. It works alongside the standard GTM web container using a two-container architecture:
- web container, which runs in the visitor’s browser and executes client-side tags
- server container, which runs on a hosted server (such as TAGGRS) and executes tags server-to-server.
The server container is where the real work happens. When it’s configured correctly, it sets first-party cookies that last up to over 365 days. And this matters now more than ever because Safari’s ITP caps browser-set cookies at 7 days, and Safari represents approximately 17% of global browser market share as of early 2026. (source: StatCounter, Browser Market Share Worldwide)
Simply put, almost 1 in 5 of your sessions is losing tracking data by default if you’re only running client-side.
TAGGRS sGTM hosting is a managed Server-side Tracking provider that hosts your GTM server container on an independent European infrastructure. It works alongside Google Tag Manager using two containers:
TAGGRS sGTM hosting works across any website stack. The rule is: if it works with Google Tag Manager, it works with TAGGRS too. So, CMSs with dedicated data layer support include WordPress, Shopify, Lightspeed, Magento, WooCommerce, and PrestaShop. Mobile apps on iOS and Android are also supported.
Where to place the container?
Every platform gets placed in 1 of 3 configurations. This is an architectural decision that affects whether conversions are counted correctly, whether cookies survive ITP, and whether data leaves your infrastructure before or after consent is applied. Here is the breakdown:
| Configuration | What it means | When to use it |
|---|---|---|
| Web container only | Tag runs in the browser. No server component. | Not relevant for sGTM setups. |
| Server container only | All data flows from the server. No browser tag. | When the platform does not support deduplication, or when the browser tag is unnecessary. Note: without an existing client-side GTM setup, a server-only configuration requires a custom tracking implementation, both frontend event collection and backend event forwarding need to be built and maintained from scratch. |
| Both containers | Browser tag sends data to the server container, which forwards it to the platform. The web container can also send data to the server side without sending anything directly to a platform. Deduplication is only required when both the browser and the server send to the same platform simultaneously. | When the platform benefits from both browser signals and server reliability. |
Which container does your platform belong in?
Not sure where to place a specific platform? Use the checker below. Select a platform and get the container placement, the deduplication requirements, and the exact configuration steps.
Interactive tool
Where does your platform belong?
Select a platform to see which container it goes in, why, and how to configure it correctly.
Google Analytics 4
Container:Both containersWeb container + server container.
Why
GA4 is the foundation of every server-side setup. The GA4 Config tag runs in the web container and sends data to the server container — feeding every downstream tag including Google Ads. Without server-side GA4 in place, no other platform in the server container receives data correctly.
Configuration steps
- Add GA4 Config tagIn your web container, add a GA4 Configuration tag. Set the Measurement ID and point the server container URL to your first-party tagging subdomain (e.g.
sst.yourdomain.com). - Deploy server container on TAGGRSConnect your GTM server container to TAGGRS. Your tagging subdomain must be a first-party subdomain of the tracked domain.
- Add GA4 server tagIn your server container, add the GA4 tag. It will automatically receive events forwarded by the web GA4 Config tag.
- Verify data flowUse GTM Preview mode and GA4 DebugView to confirm events are arriving in the server container before going live.
- Add GA4 Config tagIn your web container, add a GA4 Configuration tag. Set the Measurement ID and point the server container URL to your first-party tagging subdomain (e.g.
Google Ads
Container:Server container onlyAll data flows from the server. No browser tag.
Why
Google Ads server-side measurement depends entirely on GA4 being configured in both containers first. Once GA4 is set up, all Google Ads tags — Conversion Tracking and Remarketing — run exclusively in the server container.
Configuration steps
- Set up GA4 in both containers firstGoogle Ads has a hard dependency on GA4. Complete the GA4 server-side setup before adding any Google Ads tags.
- Add Conversion Linker tagIn your server container, add the Conversion Linker tag. This attaches click data to conversion events — the most commonly skipped step, and the one that breaks attribution when missing.
- Add Google Ads Conversion Tracking tagIn your server container, add the Google Ads Conversion Tracking tag. Configure your Conversion ID and label from your Google Ads account.
- Add Google Ads Remarketing tag (optional)If you run remarketing campaigns, add the Google Ads Remarketing tag to the server container. Same dependency chain as Conversion Tracking.
- Test with Tag AssistantVerify the full chain: GA4 Config (web) → GA4 server tag → Conversion Linker → Google Ads tag. Confirm conversions appear in Google Ads → Measurement → Conversions.
Meta / Facebook
Container:Both containersWeb container + server container.
Why
Meta recommends running both the browser pixel and server CAPI simultaneously to maximise match rates and event coverage. Running both increases the chance that each conversion is attributed correctly — even when the browser signal is blocked or degraded.
Deduplication required. When both the browser pixel and server CAPI fire for the same event, Meta receives it twice. You must pass a matching
event_idin both the browser and server events. Meta uses this ID to deduplicate and count the conversion once.Configuration steps
- Keep Meta Pixel in the web containerYour existing Meta Pixel tag stays in the web container. Do not remove it — the browser signal improves match rates.
- Add Meta CAPI tag in the server containerIn your server container, add the Meta Conversions API tag. Configure your Pixel ID and Meta access token.
- Implement event_id deduplicationGenerate a unique
event_idfor each event (e.g. a UUID or timestamp-based string). Pass the sameevent_idin both the browser pixel event and the server CAPI event. Meta matches them and counts once. - Test in Meta Events ManagerGo to Meta Events Manager → Test Events. Confirm events arrive from both browser and server, and that duplicate events are being deduplicated correctly.
TikTok
Container:Both containersWeb container + server container.
Why
TikTok recommends running the Pixel and the Events API together with event deduplication to maximise performance. The Pixel alone can miss conversions due to browser inconsistencies and connectivity issues. The Events API recovers those gaps. Run both in parallel and pass a matching
event_idso TikTok merges duplicates.Deduplication required. When both the Pixel and Events API fire for the same event, TikTok receives it twice. Pass a matching
event_idin both the browser and server events. TikTok uses this ID to merge duplicates and count the conversion once.Configuration steps
- Keep TikTok Pixel in the web containerYour existing TikTok Pixel tag stays in the web container. Do not remove it — TikTok recommends Pixel + Events API as a dual setup.
- Add TikTok Events API tag in the server containerIn your server container, add the TikTok Events API tag. Configure your Pixel ID and TikTok access token.
- Implement event_id deduplicationGenerate a unique
event_idfor each event (e.g. a UUID or timestamp-based string). Pass the sameevent_idin both the browser Pixel event and the server Events API event. TikTok matches them and counts once. - Confirm user data hashingThe server tag automatically transforms user data (email, phone) to lowercase and hashes it using SHA256 before sending to TikTok. Verify this is active in the tag settings.
- Verify in TikTok Events ManagerGo to TikTok Ads Manager → Assets → Events → Web Events (or Test Events). Confirm events arrive from both browser and server, and that matching events are deduplicated.
Pinterest
Container:Both containersWeb container + server container.
Why
Pinterest follows the same dual-signal logic as Meta: browser tag and Conversions API run in parallel. Both channels together give Pinterest the highest-fidelity view of conversion activity, improving attribution and campaign optimisation.
Deduplication required. With both the browser tag and Conversions API active, Pinterest receives each event from two sources. Pass a matching deduplication key in both the browser and server events so Pinterest counts each conversion once.
Configuration steps
- Keep Pinterest Tag in the web containerYour existing Pinterest Tag stays in the web container. It continues to fire on browser-level events.
- Add Pinterest Conversions API tag in the server containerIn your server container, add the Pinterest Conversions API tag. Configure your Tag ID and the access token you generate in Ads Manager.
- Set up event deduplicationPass a consistent deduplication key in both the browser and server events. Pinterest uses this to match and deduplicate conversion events.
- Test with Pinterest Tag HelperUse the Pinterest Tag Helper Chrome extension and Pinterest Events Manager to confirm events arrive from both channels and are deduplicated correctly.
LinkedIn
Container:Both containersWeb container + server container.
Why
The LinkedIn Insight Tag runs client-side in the web container for audience building and page view data. Conversion events are also sent server-side via LinkedIn CAPI. LinkedIn calls this a redundant setup: when both match, LinkedIn keeps the Insight Tag event and discards the CAPI copy. The server path still covers cases where the browser tag never fires.
Deduplication required. LinkedIn uses an
eventIdto match browser and server conversion events. Pass the sameeventIdin both. When both match, LinkedIn keeps the Insight Tag event and discards the Conversions API copy.Configuration steps
- Keep LinkedIn Insight Tag in the web containerThe Insight Tag stays in the web container for audience building and page view tracking.
- Add LinkedIn CAPI tag in the server containerIn your server container, add the LinkedIn Conversions API tag. Configure your LinkedIn Ad Account ID and access token.
- Configure eventId deduplicationPass a matching
eventIdin both the browser Insight Tag and the server CAPI event. LinkedIn uses this to deduplicate. Note:conversion_ididentifies the conversion rule — it is not the deduplication key. - Verify in LinkedIn Campaign ManagerGo to LinkedIn Campaign Manager → Analyze → Conversion Tracking. Confirm both Insight Tag and CAPI events show, and that redundant matches are deducted from the CAPI count.
Snapchat
Container:Both containersWeb container + server container.
Why
Snap Pixel runs in the web container; Snap Conversions API runs in the server container. Both channels run in parallel. The server tag automatically normalises and hashes user parameters — including email, mobile identifier, IP address, and phone number — before sending to Snap.
Deduplication required. Set the same ID on both sides:
client_dedup_idin the browser Snap Pixel andevent_idin the server Conversions API events. Snapchat uses this to deduplicate and count each conversion once.Configuration steps
- Keep Snap Pixel in the web containerYour existing Snap Pixel tag stays in the web container. It continues to fire browser-level events.
- Add Snapchat Conversions API tag in the server containerIn your server container, add the Snapchat CAPI tag. Configure your Snap Pixel ID and access token.
- Confirm user data normalisationThe tag automatically normalises and hashes email, phone, IP address, and mobile identifier using SHA256. Verify this is enabled in the tag configuration.
- Implement deduplicationPass one ID as
client_dedup_idin the Snap Pixel and asevent_idin the Conversions API, so Snapchat deduplicates correctly. - Test in Snap Events ManagerGo to Snap Ads Manager → Events Manager. Confirm events arrive from both channels and are being deduplicated.
Klaviyo
Container:Server container onlyAll data flows from the server. No browser tag.
Why
Klaviyo does not support event deduplication. Running both browser and server tracking sends every event twice. Configure server-side only. The tag communicates directly with the Klaviyo API and supports adding contacts, tracking on-site activity, and sending event parameters.
Configuration steps
- Remove any existing Klaviyo browser tagIf you have a Klaviyo JavaScript snippet in your web container or site code, disable it before adding the server-side tag. Running both creates duplicate events.
- Add Klaviyo tag in the server containerIn your server container, add the Klaviyo tag. Configure your Klaviyo Public API Key and Private API Key.
- Configure supported actionsThe tag supports three action types: track events, create or update a contact, and create or update a contact + track event simultaneously. Configure the action type per trigger.
- Test via Klaviyo Activity FeedGo to your Klaviyo account → Profiles. Trigger a test event and confirm it appears in the profile activity feed without duplicates.
ActiveCampaign
Container:Server container onlyAll data flows from the server. No browser tag.
Why
ActiveCampaign connects via API from the server container. The tag tracks events, creates or updates contacts, and can combine both actions in a single call. Configure server-side only for clean, deduplicated data into your CRM.
Configuration steps
- Obtain your ActiveCampaign API credentialsIn your ActiveCampaign account, go to Settings → Developer to find your API URL and API Key.
- Add ActiveCampaign tag in the server containerIn your server container, add the ActiveCampaign tag. Enter your API URL and API Key in the tag configuration.
- Select the action typeChoose from three action types: Track event, Create or update contact, or Create or update contact + track event. Set the appropriate trigger for each action.
- Map event and contact parametersConfigure which data layer variables map to ActiveCampaign event names, contact email, and any custom fields you want to populate.
- Test in ActiveCampaignTrigger a test event and confirm it appears in ActiveCampaign under Contacts → Activity or Reports → Event Tracking.
Hotjar
Container:Web container onlyNo server-side setup needed.
Why
Hotjar records sessions, heatmaps, and on-page user behaviour directly in the browser. It works by observing DOM interactions — mouse movements, scroll depth, and clicks — which only exist in the browser environment. There is no server-side equivalent, and none is needed: Hotjar does not send conversion signals to ad platforms, so there is no signal loss problem to solve here. Keep it in your web container and leave your server container untouched.
Configuration steps
- Keep Hotjar in the web containerAdd the Hotjar tracking code via a Custom HTML tag in your web container, or install it directly in your site’s
<head>. Either approach is correct. - No server container changes neededDo not add Hotjar to your server container. It has no API equivalent and routing it server-side would break its functionality entirely.
- Keep Hotjar in the web containerAdd the Hotjar tracking code via a Custom HTML tag in your web container, or install it directly in your site’s
Microsoft Clarity
Container:Web container onlyNo server-side setup needed.
Why
Microsoft Clarity works the same way as Hotjar: session recordings and heatmaps captured directly in the browser. It relies on observing real DOM interactions and cannot function outside the browser context. It is free, integrates natively with GA4, and is widely used alongside server-side setups — just not as part of them.
Configuration steps
- Add Clarity via GTM web containerIn your web container, add a Custom HTML tag with the Microsoft Clarity script. Set it to fire on All Pages.
- Connect to GA4 (optional)In the Clarity dashboard, link your GA4 property to see session recordings alongside GA4 segments. This connection is made inside Clarity — no GTM changes needed.
- No server container changes neededClarity has no server-side API. Keep it client-side only.
LiveChat
Container:Web container onlyNo server-side setup needed.
Why
LiveChat injects a chat widget into the browser DOM and detects page activity, user idle time, and scroll behaviour to trigger conversations at the right moment. All of this requires direct browser access. The widget cannot be loaded or managed from a server container.
Configuration steps
- Add LiveChat via GTM web containerIn your web container, add a Custom HTML tag with the LiveChat tracking code snippet. Fire it on All Pages.
- No server container changes neededLiveChat has no server-side API for widget delivery. It is a browser-only tool by design.
Zendesk Chat
Container:Web container onlyNo server-side setup needed.
Why
Zendesk Chat (Web Widget) renders a live chat interface directly in the browser. It uses client-side JavaScript to display the widget, detect visitor behaviour, and manage real-time conversations. Like all chat widgets of this type, it depends entirely on browser context and cannot be routed through a server container.
Configuration steps
- Add Zendesk Web Widget via GTM web containerIn your web container, add a Custom HTML tag with the Zendesk Web Widget snippet from your Zendesk account (Admin Center → Channels → Messaging). Fire on All Pages.
- No server container changes neededThe Zendesk Web Widget is browser-only. No server-side configuration is required or possible.
Typeform
Container:Web container onlyNo server-side setup needed.
Why
Typeform embedded forms and popups run entirely in the browser. They rely on client-side JavaScript to render the form, respond to user input, and trigger display logic (scroll-based, time-based, or exit intent). Typeform does offer a Responses API for pulling submission data server-to-server, but the embed itself is browser-only and belongs in the web container.
Configuration steps
- Embed Typeform via GTM web containerIn your web container, add a Custom HTML tag with the Typeform embed snippet or use the standard
<script>+<div>embed method. Set the trigger based on your display logic (All Pages, specific page, or a custom event). - No server container changes neededThe Typeform embed is client-side only. If you need to push form submission data into your data layer for conversion tracking, use Typeform’s hidden fields or webhook → server integration — but the embed itself stays in the web container.
- Embed Typeform via GTM web containerIn your web container, add a Custom HTML tag with the Typeform embed snippet or use the standard
Platforms that only go in the web container
Some platforms are designed to run exclusively in the browser (client-side). They rely on direct interaction with the DOM: recording mouse movements, capturing scroll depth, tracking clicks, or rendering on-page overlays. Moving these to the server side isn’t possible because the data they collect simply doesn’t exist outside the browser.
This is a common question we get from clients: “Can I move Hotjar to server-side?” The short answer is no, and you don’t need to. Why, you ask? These tools don’t send conversion signals to ad platforms, so there’s no signal loss problem to solve here.
Tools in this category include:
- Hotjar. Records sessions, heatmaps, and user behavior directly in the browser. It has no server-side equivalent and doesn’t need one: its data is visual and qualitative, not used for bidding.
- Microsoft Clarity. Works the same way as Hotjar: session recordings and heatmaps, browser-only by design. Microsoft offers it for free and it’s widely used alongside GA4.
- LiveChat or Zendesk Chat. Live chat and customer messaging widgets inject into the DOM and need browser context to detect page activity and trigger conversations.
- Typeform (or similar on-page survey tools). It pops up based on scroll or time triggers. These interactions happen on the client side.
What this means for your setup? Keep these tools in your web container (GTM client-side). There’s no reason to route them through your server container, and actually attempting to do so would break their functionality. For user experience and behavior tools, client-side is the right place by design.
Platforms that go in the server container only
Advertising platforms
Google Ads Server-side Tracking requires 4 components in sequence:
- GA4 Config tag (web container)
- GA4 server tag (server container)
- Conversion Linker tag (server container)
- Google Ads Conversion Tracking tag (server container)
According to the FAQs our Support gets, the Conversion Linker is the step most often missed. Without it, click data doesn’t attach to conversions correctly and attribution breaks. Google Ads Remarketing runs through the same chain.
Google Ads Remarketing also runs server-side only, using the same GA4 dependency.
CRM and marketing automation
Klaviyo does not support event deduplication. Running both browser and server sends duplicate events to Klaviyo. Configure server-side only. The tag communicates directly with Klaviyo’s API and supports adding contacts, tracking on-site activity, and sending event parameters.
ActiveCampaign connects with the ActiveCampaign API server-side. The tag supports 3 action types: track events, create or update a contact, and create or update a contact while tracking an event simultaneously.
Platforms that require both the web container and the server container
Analytics
Google Analytics 4 isn’t optional in a server-side setup. The GA4 Config tag in the web container sends data to the server container, which feeds every downstream tag, including Google Ads. There is no server-side Google Ads setup without server-side GA4 in place first.
Deduplication for GA4? It’s not required. Session continuity is handled automatically across both containers.
Advertising platforms
| Platform | Why both containers? | Deduplication required? | Matching parameter |
|---|---|---|---|
| Meta | Meta recommends running browser pixel and server CAPI simultaneously to maximize match rates and event coverage. | Yes | event_id must match between web and server events |
| Browser tag + Conversions API run in parallel, same dual-signal logic as Meta. | Yes | Advertiser ID + event deduplication key | |
| TikTok | TikTok recommends running the Pixel and Events API together with event deduplication to maximize performance. The Events API recovers conversions the Pixel can miss due to browser inconsistencies and connectivity issues. | Yes | event_id must match between web and server events |
| Insight Tag runs client-side; server tag sends conversion events via LinkedIn CAPI. | Yes | eventId | |
| Snapchat | Snap Pixel (web) + Snap Conversions API (server) run in parallel. Tag automatically normalizes and hashes user parameters. | Yes | event_id |
For TikTok, pass the same event_id on the Pixel and the Events API. TikTok merges matching events so conversion counts stay accurate. Verify the setup in TikTok Events Manager.
But, what deduplication means in practice? Deduplication happens when the same conversion event fires in both the browser and the server, so the platform receives it twice. Without deduplication logic (a shared event ID that tells the platform “these two events are the same”) your conversion counts inflate. For Meta specifically, this means ROAS reporting becomes unreliable.
E-commerce: CMS-specific data layers
Server-side Tracking is only as good as the event data reaching the server container. For e-commerce, that means a correctly structured data layer: one that passes purchase, add-to-cart, and product view events with the right parameters.
TAGGRS has dedicated data layer configurations for CMSs including WordPress (with WooCommerce), Shopify, Lightspeed, Magento, and PrestaShop.
Each CMS has a different data layer structure. Using the wrong event format causes conversion events to arrive at the server container with missing or malformed parameters: the most common reason server-side Google Ads tracking appears to work but underreports conversions.
Mobile apps: iOS and Android
TAGGRS supports Server-side Tracking for mobile apps on iOS and Android. App events route through the server container using the same infrastructure as web tracking. This is relevant for teams running Google Ads App campaigns or Meta app install campaigns where browser-side tracking is not available and SDK-level event data needs a server relay before reaching ad platforms.
Which setup matches your tracking stack?
Google Ads + GA4 only
Configure GA4 in both containers. Google Ads runs server-side only. This is the minimum viable sGTM setup for teams starting out.
Google Ads + Meta + GA4
Add Meta CAPI with event_id deduplication. This is the most common agency configuration. It covers the two highest-spend platforms and delivers the largest signal recovery gain for most clients.
Google Ads + Meta + TikTok + LinkedIn + Klaviyo
Every platform above applies. At this scale, infrastructure management — container uptime, multi-client access, credential rotation — becomes the operational constraint, not tag configuration. TAGGRS’s managed hosting and role-based access controls are built for this environment.
E-commerce stack (Shopify / WooCommerce / Lightspeed)
Start with CMS-specific data layer configuration before setting up any platform tags. An incomplete data layer produces missing parameters at the server level, and no tag configuration can compensate for events that never formed correctly upstream.
FAQ
Which platforms require event deduplication in server-side GTM?
Meta (Facebook CAPI), TikTok Events API, Pinterest, LinkedIn CAPI, and Snapchat CAPI require event deduplication when running both browser and server tracking simultaneously. Pass a matching event ID on both the browser and server events so each conversion is counted once.
Which platforms go in the server container only?
Google Ads, Klaviyo, and ActiveCampaign go in the server container only. Google Ads depends on GA4 being set up first. Klaviyo and ActiveCampaign do not support event deduplication, so running both browser and server tracking would inflate event counts.
Which platforms require both the web container and the server container?
GA4, Meta, TikTok, Pinterest, LinkedIn, and Snapchat require both containers. The browser tag and server-side API run in parallel to maximize signal coverage and match rates. Deduplication is required for the ad platforms to avoid double-counting conversions.
Which platforms require event deduplication in server-side GTM?
Meta, TikTok, Pinterest, LinkedIn, and Snapchat all require deduplication when running both browser and server tags. Each platform uses a matching ID (such as event_id or eventId) passed in both the browser and server events to count each conversion once.
Does TikTok support Server-side Tracking with deduplication?
Yes. TikTok recommends running the Pixel and the Events API together with event_id deduplication. Pass the same event_id on both sides so TikTok can merge duplicate events. Running both without a matching event_id can inflate conversion counts.
About the author

Head of Marketing
Ate Keurentjes, now Head of Marketing at TAGGRS, initially joined the company as Marketing Specialist in August 2023. With deep expertise in Server-side Tracking, SEO, and data-driven marketing strategy, he leads initiatives that enhance TAGGRS’ online visibility, user engagement, and conversion performance. By analyzing industry trends and leveraging advanced optimization techniques, Ate drives impactful marketing campaigns that accelerate the company’s growth.


