Author: Rimsha Zafar
July 3, 2026

How to Complete Your Server-Side Setup with Seers Using Google Tag Manager

Have you been losing tracking accuracy because browser restrictions keep blocking your tags? Many businesses face this exact problem when relying on client-side tracking alone. The good news is that a proper server-side setup solves most of these issues by routing your data through a secure server container instead of the browser.

 

This blog walks you through the complete server-side setup process using Google Tag Manager (GTM) and Seers. You will learn how to create a server container, link it to your web container, configure GA4, and verify that everything fires correctly. Each step is written in plain language so you can follow along without needing a developer.

 

By the end, your tracking events will flow through a server container that you fully control. This means better data accuracy, stronger performance, and fewer disruptions from ad blockers or browser privacy updates.

What Is Server-Side Setup and Why Does It Matter?

A server-side setup moves your tracking logic from the browser to a dedicated server container, giving you more control over data collection, improved privacy, better tracking accuracy, and stronger performance across platforms. 

How It Differs from Client-Side Tracking

With client-side vs server-side tagging, the core difference is where your tags fire. Client-side tags run inside the visitor’s browser. Server-side tags run on a server that you own and manage.

 

Browser-based tags depend on the visitor’s device and browser settings. Ad blockers, cookie restrictions, and privacy features can all interfere. A server-side setup removes that dependency by processing events on your own infrastructure.

Why Businesses Are Making the Switch

More businesses are switching from client-side to server-side tracking because browser privacy rules have tightened. Safari, Firefox, and Chrome now limit how long cookies last and what scripts can do. Server-side processing avoids these limits.

 

A server-side setup also reduces page load times. Fewer scripts running in the browser mean faster websites. That directly impacts bounce rates and conversions.

Who Should Use This Guide

This guide suits website administrators, marketing teams, and business owners who use Google Tag Manager. You do not need coding experience. If you can navigate GTM and the Seers dashboard, you can complete this setup in under an hour.

Before You Start: Prerequisites for Server-Side Setup

Make sure you have these essentials ready before beginning your server-side setup.

A Google Tag Manager Web Container

You need an active GTM web container already installed on your website. This container is where your existing tags live, including any Google Analytics or consent tags.

The Seers CMP Tag Installed

Your web container must already include the Seers CMP tag. If you have not added it yet, install it first using the Seers GTM plugin guide. This tag handles user consent signals, which are essential for compliant tracking.

Access to Your DNS Settings

You will need access to your domain provider’s DNS settings during the custom domain step. This lets you point a subdomain to your server container for first-party data collection.

Step 1: Verify Your Web Container and Seers Tag

The first step of your server-side setup is confirming your existing GTM web container is ready.

Log in to Google Tag Manager

Go to Google Tag Manager and sign in. On the Accounts page, find your account and select the Web Container for your domain. This opens the workspace where your tags live.

Check for the Seers CMP Tag

Click on the Tags section in the left sidebar. Look through your existing tags and confirm that the Seers CMP tag appears in the list. This tag is what sends consent signals alongside your tracking data.

Return to the Accounts Page

Once you have confirmed the tag is present, close it and go back to your GTM Accounts page. You will create the server container from this screen in the next step.

Step 2: Create a Server Container in GTM

Now you will create a new container specifically for server-side tagging inside GTM.

Click Create Container

From the Accounts page, click the Create Container button. GTM will ask you to name your container and select a platform type.

Name and Configure It

Give the container a clear name that includes your domain and the word ‘server’ for easy identification. For example, ‘yoursite-server’. Then select Server as the target platform and click Create Container.

Copy the Container Configuration ID

After creation, a pop-up appears asking how you want to provision the tagging server. Select ‘Manually provision tagging server’. GTM will display a Container Configuration ID. Copy this value because you will need it in the next step when setting up the container inside Seers.

Step 3: Configure Seers Server-Side Container

With the Configuration ID copied, you will now set up your server container inside the Seers dashboard.

Navigate to Server-Side Tagging in Seers

Log in to your Seers dashboard. From the left-hand menu, navigate to the Server-Side Tagging section. This is where you manage all your server containers.

Create a New Server Container

Click the button to create a new server container. Give it a recognisable name, paste the Container Configuration ID you copied from GTM, and click Create Container.

Copy the Seers Domain URL

Once the container is created, open the container dashboard. Go to the Domain section and copy the domain URL that Seers provides. You will paste this back into your GTM server container settings in the next step.

Step 4: Link the Server Container in GTM

This step connects your GTM server container to the Seers infrastructure using the domain URL.

Open Container Settings

Go back to your GTM Server Container. Click on Admin in the top menu, then select Container Settings from the dropdown.

Paste the Seers Domain URL

In the server container URL field, paste the domain URL you copied from Seers. Click Save to apply the settings.

Preview the Container

Navigate to the Workspace tab and click Preview. This launches the server container in debug mode so you can confirm the connection is active. You should see the container loading without errors.

Step 5: Set Up a Custom Domain

Setting up a custom domain is a critical part of your server-side setup for server-side tagging benefits like first-party cookie support.

Add a Custom Domain in Seers

Go back to your Seers container dashboard and find the Custom Domain section. Click Add Domain. Seers will generate DNS records that you need to add to your domain provider.

Add DNS Records to Your Domain Provider

Copy the DNS records provided by Seers. Log in to your domain registrar (such as Cloudflare, GoDaddy, or Namecheap) and add these records to your DNS settings. The records typically include a CNAME entry pointing a subdomain to the Seers infrastructure.

Verify and Update GTM Settings

Wait for DNS propagation, which usually takes a few minutes but can take up to 48 hours. Once propagated, return to Seers and click Verify. After verification, copy the Custom Domain URL. Then go back to your GTM Server Container, open Admin, select Container Settings, and replace the previous URL with your new Custom Domain URL. Select this custom domain in the Workspace tab.

Step 6: Connect the Server Container to Your Web Container

Your server container now needs to receive events from your web container through a simple parameter.

Open the Google Tag in Your Web Container

Switch to your GTM Web Container. Go to Tags and find your Google Tag (sometimes called the GA4 Configuration tag). Open its configuration settings.

Add the Server Container URL Parameter

Inside the tag configuration, add a new parameter. Set the Parameter Name to server_container_url. Set the Value to your server container’s custom domain URL. This tells your web container to route events to the server container.

Save, Submit, and Publish

Save the tag changes. Click Submit and then Publish the container version. Your web container will now forward tracking events to the server container automatically.

Step 7: Set Up GA4 Measurement in the Server Container

This step brings your GA4 Measurement ID into the server container so it can process analytics events and improve conversion data accuracy.

Copy the GA4 Measurement ID from the Web Container

In your GTM Web Container, go to Variables. Under User-Defined Variables, find your GA4 Measurement ID variable and copy its value. This is the ID that starts with ‘G-‘ followed by a string of characters.

Create a Constant Variable in the Server Container

Switch to your GTM Server Container. Navigate to Variables and create a new User-Defined Variable. Name it ‘GA4 Measurement ID’, set the Variable Type to Constant, and paste the Measurement ID as the value.

Save the Variable

Click Save. This variable will be referenced by the client and tag configurations in the following steps.

Step 8: Configure the GTM Client in the Server Container

A client in the server container listens for incoming requests and routes them to the right tags.

Create a New Client

In your Server Container, go to the Clients section and click New. Name the client ‘GTM Web Container ‘, so it is easy to identify.

Set the Client Type

Select ‘Google Tag Manager: Web Container’ as the Client Type. This tells the server container to listen for events coming from your GTM web container.

Link the GA4 Measurement ID

In the Container ID field, select the GA4 Measurement ID variable you created earlier. Uncheck any region-specific settings unless they apply to your setup. Click Save to finish creating the client.

Step 9: Configure the GA4 Tag in the Server Container

Now you will create a GA4 tag and set up a trigger so it fires on the correct events.

Create a New GA4 Tag

In the Server Container, go to Tags and click New. Name the tag ‘Google Analytics GA4’ and select ‘Google Analytics: GA4’ as the Tag Type. In the Tag Configuration, select the GA4 Measurement ID variable you created.

Set Up a Custom Trigger

Click on Triggering and create a new trigger. Name it ‘GA4 All Events’ and set the Trigger Type to Custom. Choose ‘Some Events’ and configure it to fire when the Client Name equals ‘GA4’. This ensures the tag only fires for events coming through your GA4 client.

Save and Preview

Save the tag with its trigger. Then click Preview from the Workspace to enter debug mode. This lets you verify the tag configuration before publishing.

Step 10: Verify Your Server-Side Setup

The final step confirms everything works by testing both containers together.

Preview the Web Container

Open your GTM Web Container and click Preview. A pop-up will ask for your website URL. Enter it and click Connect. Your website will open in a new browser tab with GTM debug mode active.

Interact with the Cookie Banner

On your website, interact with the cookie banner that appears. Accept or customise cookie preferences as a normal visitor would. This action triggers consent signals and analytics events that flow from the web container to the server container. This is also where your cookie consent management platform plays its part.

Check the Server Container Preview

Switch to the Server Container’s preview window. You should see the ‘Google Analytics GA4’ tag firing successfully. If the tag shows as fired, your server-side setup is complete. Events are now routed from the browser, through your web container, to the server container, and on to Google Analytics.

Common Issues and Quick Fixes During Server-Side Setup

Even with a clear process, you might hit a few bumps during your server-side setup.

The Server Container Shows No Events

Check that you added the server_container_url parameter to the Google Tag in your web container. Confirm the URL matches your custom domain exactly. Also, verify that you published the web container changes after adding the parameter.

DNS Verification Fails in Seers

DNS propagation can take time. Wait at least 30 minutes before trying again. Double-check that the DNS records match what Seers provided. Some domain providers require you to remove trailing dots from CNAME entries.

GA4 Tag Does Not Fire in Server Preview

Verify the trigger condition matches the client name exactly. The client name must equal ‘GA4’ for the trigger to activate. Also confirm the GA4 Measurement ID is correct. You can find the best server-side tagging solution troubleshooting tips in the Seers documentation.

Final Thoughts

Completing your server-side setup puts you in control of how your tracking data flows. By routing events through a server container instead of the browser, you gain better accuracy, faster page loads, and resilience against ad blockers. This guide covered every step from container creation to full verification. Your tracking is now more reliable and future-ready.

Start Your Server-Side Setup with Seers Ai

Seers makes server-side setup straightforward. You get a managed server container, custom domain support, built-in Google Consent Mode v2 compatibility, and a simple dashboard to manage it all. No complex cloud configurations needed.

START FREE TODAY

Frequently Asked Questions (FAQs)

What is the difference between a web container and a server container in GTM?

A web container runs tags directly inside the visitor’s browser on your website. A server container runs on a separate server and processes the same events outside the browser environment. The web container sends data to the server container, which then forwards it to platforms like Google Analytics. This separation gives you more control over data processing, reduces browser load, and protects your tracking from browser-level restrictions.

Do I need a developer to complete server-side setup?

Most website owners and marketers can complete this setup without developer support. The process involves navigating the GTM interface, pasting configuration IDs, and adding DNS records. If you are comfortable working inside Google Tag Manager and your domain registrar, you can handle every step yourself. The only technical part is adding DNS records, which your hosting provider can help with if needed.

How long does the full server-side setup process take?

The active configuration work takes around 30 to 45 minutes for someone following a step-by-step guide. However, DNS propagation after setting up the custom domain can add a waiting period of a few minutes up to 48 hours. Plan to complete the initial steps in one sitting and return for verification once DNS has propagated.

Will server-side setup affect my existing tracking data?

Your historical data in Google Analytics remains untouched. The server-side setup creates a new processing path for future events. Once active, new events route through the server container while your past data stays exactly as recorded. There is no migration of historical data involved in this process.

Can I use server-side setup with platforms other than Google Analytics?

Yes. Once your server container is running, you can add tags for multiple advertising and analytics platforms. Google Ads, Meta, TikTok, Snapchat, LinkedIn, and other platforms all support server-side tag configurations inside GTM. Each platform requires its own tag and trigger setup within the server container.

What happens if I skip the custom domain step?

Without a custom domain, your server container uses a default Seers domain. This means tracking requests come from a third-party domain rather than your own. Browsers treat third-party requests differently and may limit cookie lifetimes. Setting up a custom domain ensures first-party context, which extends cookie duration and improves data accuracy significantly.

Is server-side setup only suitable for large businesses?

Businesses of all sizes benefit from server-side tracking. Small and mid-sized websites often see the most improvement because they rely heavily on accurate data from limited traffic. The cost of running a server container through a managed provider like Seers is accessible for most budgets. It is not an enterprise-only solution by any measure.

How do I know my server-side setup is working correctly?

GTM provides a built-in preview and debug mode for both web and server containers. After completing the setup, open both containers in preview mode and visit your website. Interact with the cookie banner and check the server container preview. If the GA4 tag shows as fired, your setup is working correctly, and events are flowing through the server.

Does server-side setup improve website speed?

Moving tags from the browser to a server container reduces the number of scripts running on your web pages. Fewer scripts mean faster page load times and better Core Web Vitals scores. Visitors experience a smoother, quicker website. This improvement is especially noticeable on pages that previously ran many third-party tracking scripts simultaneously.

What role does the Seers CMP tag play in server-side setup?

The Seers CMP tag manages cookie consent signals in your web container. When a visitor accepts or declines cookies, this tag communicates those preferences. In a server-side setup, these consent signals travel with the tracking data to the server container. This ensures your server-side tags respect visitor consent choices and your tracking remains compliant with privacy regulations.

 

Rimsha Zafar

Rimsha is a Senior Content Writer at Seers AI with over 5 years of experience in advanced technologies and AI-driven tools. Her expertise as a research analyst shapes clear, thoughtful insights into responsible data use, trust, and future-facing technologies.

ORCIDResearchGateGoogle ScholarLinkedIn 

Unlock Accurate Insights with Google Consent Mode v2

Is Your Website at Risk of Losing Conversions?


Take our Free Cookie Audit and find out

Ready to Build Trust and Drive Business Growth?

Join 50,000+ websites using Seers.Ai to turn compliance into trust, insights, & measurable business growth.