What Is Server-Side Tagging?

Server-side tagging is a way of collecting website and app events in which the browser sends data to a server the business controls, and that server then forwards the data to analytics, advertising, and other vendors. In client-side tagging, each vendor's script runs in the visitor's browser and sends data directly to that vendor.

What does server-side tagging mean in practice?

With client-side tagging, a page loads a tag management container, and the container loads a script or pixel for each vendor. Every script collects what it can from the page and sends it from the browser to the vendor's servers.

With server-side tagging, the page sends a single stream of events to an endpoint on infrastructure the business operates, often on a subdomain of its own site. Software on that server, usually called a server container, receives each event and decides which vendors get it, in what form. The vendor connections then happen server to server instead of from the browser.

A lightweight client-side tag still runs on the page to capture the event and send it to the server, so server-side tagging moves part of the work and does not remove the browser from the process.

What does server-side tagging change compared with client-side tagging?

What are the common misconceptions about server-side tagging?

Server-side tagging is often described as a way around browser tracking restrictions or consent rules. Privacy law and consent requirements apply to the data collected and the purposes it is used for, wherever the processing happens, so moving a tag to a server does not change what a visitor must be told or asked.

It is also sometimes treated as a replacement for a tag management system. It is better understood as a deployment option that many tag management products now support, alongside client-side containers. For the product category around it, see What Is a Tag Management System (TMS)?.

CartographAI is a free tool brands and agencies use to research tag management vendors, with independent assessments across the field.

Related reading