Posts

Showing posts with the label #GoogleTagManager

How to migrate from client-side to server-side Google Tag Manager

  Migrating from client-side to server-side Google Tag Manager is one of the most common analytics projects on marketing team backlogs right now. Ad blockers, Safari's Intelligent Tracking Prevention and consent regulations keep removing events before they reach GA4 or Google Ads. What server-side GTM actually is Client-side GTM loads a container script in the visitor's browser. That script fires tags. Server-side GTM adds a second container that runs on your own cloud infrastructure and receives events over a subdomain of your website. The browser sends one lean request to your subdomain. The server container reads it, applies any transformation or filtering logic, then forwards clean events to Google Ads, GA4, Meta Conversions API and any other supported endpoint. Why the migration matters Cookies set by your subdomain read as first-party, so Safari keeps them beyond the seven-day limit that hits browser-set cookies. Requests to your own subdomain sit outside typical ad...

GA4 Server-Side Tracking: How to Stop Losing Conversion Data to Ad Blockers

Image
  If your Google Analytics 4 reports show fewer conversions than your CRM, you are not looking at a reporting quirk. You are looking at a data gap — and it is caused by something most marketing teams do not see coming. Ad blockers affect between 25 and 40 percent of web traffic, depending on the industry and device type. Every blocked request is a conversion event your analytics never receives.  Browser privacy tools like Safari's Intelligent Tracking Prevention (ITP) compound the problem further by capping the lifespan of JavaScript-set cookies at just seven days. If a customer converts eight days after their first visit, that attribution gets lost entirely. Why Client-Side Tracking Has a Structural Weakness Client-side tracking works by running JavaScript tags directly in the user's browser. The browser then sends the event data to Google Analytics 4. This approach is simple to set up and has worked for years — but browser privacy controls now sit directly in its path. A...