Field note · Measurement · November 2026
Server-side tagging: invite the firewall to the kick-off
Moving marketing tags to a server moves the project onto IT security's ground, and the firewall will treat a tracking request like an attack until someone tells it otherwise.
Why the tags moved
In a large group we work with, the contract for the existing tag manager had a fixed end date. The group decided to replace it with a server-side tag manager, hosted in its own cloud, on its own subdomain. The architecture board validated the target. The plan looked like a migration: sort the tags, rebuild them, switch over.
The first real request came back as a 403
The server sits behind the group's web application firewall, like everything else in that cloud. As soon as a tracking request carried a body, the firewall refused it.
Lowering the sensitivity of the preconfigured rules did not help. The logs the project could read did not say whether the size or the content was the problem. One false positive was found later: a line break inside a JSON body was read as a header.
Seen from a firewall, the refusal makes sense. A tracking request is a long payload sent from any browser on the internet. It can carry a hundred variables or more, among them hashed email addresses, phone numbers and encoded strings. That is close to what an injection looks like.
Nobody switches off a firewall for marketing
Security took a clear position, and a fair one. No global deactivation. Exceptions are handled case by case, limited to one rule and to the tracking endpoints, with compensating measures, and recorded as a formal deviation.
That opened a question nobody had answered before the project started: who decides? The platform team said it was a business decision. Security said it was theirs too. Meanwhile a configuration request waited about ten days in a backlog.
One shortcut was proposed: restrict the flows to the internal proxy and relax the rest. We advised against it. The traffic to validate is real traffic, from the internet. A test that passes from inside the network proves nothing.
The exception was granted in the end, in exactly the form security had set: one rule, the tracking endpoints only, compensating measures, a formal deviation on file. The server-side set-up is now in service. The tracking work was the short part. The weeks went into finding who could sign.
What we now put in the plan on day one
- A list of call types for security. The team ended up documenting about forty types of calls to the server. Security should receive that document before the first test, not after the first block.
- An owner for exceptions. Who signs, in which form, within what delay. Decided before the build.
- Logs and alerts. A blocked tracking hit raises no error on the website. It is a conversion that never arrives. Ask for access to the firewall logs and for an alert on blocked tracking requests.
- Outgoing flows. The server also sends data to advertising partners. Those flows need their own tests.
- Fewer tags. Tags that are inactive or fire nothing are not migrated. They can come back if someone misses them.
- A real margin. Count the weeks between the planned go-live and the end of the old contract. Then assume security review will use some of them.
What we take from it
Server-side tagging is sold as a tracking project. In a large group it is first a security and governance project, with tracking at the end. The marketing team cannot run it alone, and neither can IT.
Standing between marketing, the agency and IT is what an Advisory engagement is for, and it usually starts with an audit of how the data is collected.