I have worked in digital marketing since 2004 and have seen plenty of things that were going to change everything come and go, but what is happening with advertising and content production right now can’t be waved away in the same way. The tools will take over large parts of both performance and content creation, and I deliberately write will and not might. When the system itself chooses the audience, sets the bid and also writes the ad, it becomes quite clear where the competitive advantage ends up: in the data you feed the machine and that nobody else has.
Google has more or less stopped talking about how much data advertisers send in and talks instead about how good it is. Last spring Search Engine Journal described Google’s focus on data strength as what it really is, a push for better bidding, where Smart Bidding and Performance Max become exactly as good as the signals they get. That is why I think a data warehouse of your own is one of the most important digital investments a business can make now, and at the same time one of the easiest to postpone, since nobody gets particularly excited about a Consent Mode setting.
At the same time we are losing data all the time. Safari and Firefox have blocked third-party cookies for years, ad blockers eat up part of the rest, and when visitors get a clear option to say no in the cookie banner, roughly half choose to decline. A plain pixel setup at Meta loses around 30 to 40 percent of events according to the industry’s own figures. That doesn’t mean you should try to slip past consent, quite the opposite. It means that what may actually be measured has to be measured properly and end up somewhere you own it yourself, for example GA4 exported to BigQuery.
This is how we build the foundation, for ourselves and for our clients, in the order we do it.
The foundation: consent and dataLayer
Everything starts with Google Tag Manager being installed correctly. The container code should sit in the <head>, as high up as possible, and the fallback code directly after <body>, otherwise you risk losing the first seconds of every visit. The cookie banner is then connected to GTM via Consent Mode v2, and the default state should be set to denied until the visitor actively clicks yes. No tags may jump the gun before then. This is no longer just a GDPR question. Since July 2025 Google switches off conversion tracking and remarketing for traffic in the EEA if the consent signals are missing.
On forms we don’t want to guess our way via thank-you pages that people can reload or bookmark. Instead we build in a clean dataLayer.push when the form has actually been submitted, with a clear event that can be trusted:

Server-side tracking with sGTM
The next step is a server container running in Google Cloud or via Stape, and this is where the most important thing happens. We point a subdomain of your own, for example data.yoursite.com, at the server container with an A or CNAME record. That makes the requests first-party data, handles Safari and ITP better and means they are not blocked as easily. A small caveat worth knowing is that since version 16.4 Safari shortens the lifetime of server cookies if the server’s IP address is not close to the main domain’s, so the setup needs a little thought.
The route is then easy to explain even to a management team. The website’s GTM sends the data to our own subdomain, and the server container passes it on to the analytics and ad tools, which means you decide for yourself what leaves the building.
Google: GA4 and Google Ads
The GA4 base tag is sent via server GTM and we define the key events, such as forms and clicks on phone and email, and mark them as conversions. The office IP address is added as an internal filter in GA4 admin so that we don’t measure our own clicks, and Conversion Linker sits on all pages via GTM.
For Google Ads we set up Enhanced Conversions for leads, where the email field in the form is mapped so that hashed data is sent along to Google. That gives better matching without any plain text leaving the site, and it is exactly the kind of signal bidding needs.
Meta and LinkedIn
Meta’s base code is added to the site via GTM and the Conversions API is connected from the server container. The important thing here, and what most often goes wrong, is that the same unique event_id is sent both from the browser and from the server, so that Meta can merge them instead of counting the same lead twice. Meta matches on identical event_id and event name within 48 hours, and the names are case sensitive, so Lead and lead are not the same thing.
The LinkedIn Insight Tag is added to all pages and we set up matching conversion rules in Campaign Manager for the goals and forms we actually care about.
Behaviour and UX
Microsoft Clarity is added via GTM and gives us recordings and heatmaps that often say more than ten reports. Before it goes live we check in the Clarity settings that personal data and all form fields are masked automatically, because someone typing their phone number into a form should not end up in a recording.
QA before anything counts as done
This is the step that separates a setup that looks good from one that actually works. We always do a decline test in incognito mode, where we click no in the banner and then go through the network traffic under the Network tab, and neither Google, Meta, LinkedIn nor Clarity may send a single tracking request. Then we reload, click yes and follow in GTM Preview mode that the right tags fire. Finally we submit a real test lead and check that the event shows up in GA4 DebugView and that Meta Pixel Helper shows a green tick with no warnings about a missing event_id.
Why this matters now
It is easy to see this as technology for its own sake, but I see it as the opposite. When AI tools become equally available to everyone, it is not the tool that makes the difference but what you have to give it, and a clean, consented data stream of your own is something your competitors can’t buy overnight. Those who build the foundation now will have something to stand on when the rest of the market is pressing the same automated buttons.


