server-side-tracking-planner
Installation
SKILL.md
Server-Side Tracking Planner
Server-side tracking moves tag work from the visitor's browser to a server you control. The browser sends one stream of events to your own domain, and your server forwards them to GA4 and the ad platforms. It brings back some of what ad blockers and short browser cookie limits take away, and it lets you add data the browser never had, such as a hashed email from the order.
It also costs money every month and needs someone to own it. So this skill answers the question in order: how much is missing, how much of that a server can bring back, whether that is worth the cost, and only then how to build it.
Server-side vs client-side tracking, in one table
| Client-side (browser tags) | Server-side (a server container on your domain) | |
|---|---|---|
| Where tags run | In each visitor's browser, one request per vendor | On your server; the browser sends one stream to it |
| Ad blockers | Block known vendor domains | Requests go to your own domain, so fewer are blocked |
| Cookie life in Safari | Cookies set by script are capped at 7 days | Cookies set by your server can last longer, if the server sits on the same site and a matching IP (see placement) |
| Data you can add | Only what the page knows | Order and CRM data, hashed, from the server |
| Consent | Tags read the banner directly | Consent state has to travel with each event |
| Cost and upkeep | None beyond the tag manager | Hosting every month, plus someone who owns it |
| Visitors who refuse consent | Not tracked | Still not tracked. A server is not a way around consent |