google-tag-manager
-
Corso Google Tag Manager, Episodio 1: lo script e il Data Layer
Questo è il primo episodio di una serie dedicata a Google Tag Manager. L'obiettivo non è il solito tutorial "clicca qui, poi qui": voglio spiegare come funziona GTM davvero, sotto l'interfaccia, e demistificare alcune convinzioni che negli anni si sono sedimentate attorno allo strumento. Si parte dal client-side, la modalità più semplice e più usata, per arrivare, più avanti nella serie, al server-side. Come ambiente di test uso un piccolo shop demo installato sul mio sito, dove faremo tutte le implementazioni pratiche.
-
[Case Study] Rebuilding analytics for a multi-domain tourism SPA
A large-sized Italian tourism operator running hop-on-hop-off bus tours and experience bookings across three domains came to me with a common problem: their advertising platforms were not receiving reliable conversion data. Meta, LinkedIn, Google Ads, and TikTok dashboards told conflicting stories. Attribution was unreliable. Nobody trusted the numbers. This is the story of how I rebuilt their analytics infrastructure from the ground up.
-
Google Tag Gateway vs Server-Side GTM: Which One Do You Need?
Browser tracking is losing signal. Safari caps cookies at 7 days, ad blockers strip requests to googletagmanager.com, and Firefox blocks third-party resources by default. Google Tag Gateway and server-side GTM both solve this, but they take fundamentally different approaches. This guide compares them head-to-head with real setup examples.
-
GTM MCP Server: AI-Powered Google Tag Manager Automation
Managing GTM at scale is tedious. Creating GA4 ecommerce tracking means 12+ tags, matching triggers, and variables—each requiring careful configuration. I built an open-source MCP server that connects Claude and ChatGPT directly to the GTM API. Describe what you need in plain English, and the AI handles the implementation. Here is how it works, how to set it up, and real-world workflows for analytics teams.
-
Cross-Domain Tracking in GA4: Setup Without Data Loss
When users move between your domains, GA4 treats them as new visitors by default—inflating user counts and breaking attribution. This guide covers proper cross-domain configuration in GA4 and GTM, troubleshooting self-referrals, handling payment gateways, and testing to ensure session continuity.
-
GA4 Custom Dimensions & Metrics: When and How to Use Them
GA4 default parameters cover most cases, but custom dimensions unlock business-specific insights. This practical guide explains when you actually need them, the three scope types (event, user, item), implementation via GTM, quota management, and real examples for ecommerce and lead generation sites.
-
GTM Consent Mode V2: Complete Implementation Guide
Google Consent Mode V2 became mandatory for EEA advertisers in March 2024. Without it, you lose remarketing audiences and conversion data. This practical guide covers the two new parameters (ad_user_data, ad_personalization), basic vs advanced modes, GTM implementation with popular CMPs, and verification steps.
-
GA4 Debug Mode: Complete Troubleshooting Guide
DebugView is essential for validating your GA4 implementation, but it often refuses to show data when you need it most. This practical guide covers all methods to enable debug mode, diagnose why events are not appearing, and fix the 18+ common issues that break DebugView.
-
Google Tag Manager Server-Side: Technical Overview
Server-side tracking shifts data processing from the user's browser to company servers, offering greater control, accuracy, and privacy compliance. This technical guide explains how GTM Server-Side works, when it makes sense to implement it, and why bypassing adblockers is not a good reason to adopt it.
-
Google Tag Manager Server-Side: Panoramica Tecnica
Il tracciamento server-side sposta l'elaborazione dei dati dal browser dell'utente ai server aziendali, offrendo maggiore controllo, precisione e conformità alla privacy. Questa guida tecnica spiega come funziona GTM Server-Side, quando ha senso implementarlo, e perché bypassare gli adblocker non è una buona ragione per adottarlo.