From GTM migration to missing UTM columns: getting ad attribution right as a solo founder

posted 1 min read

Last month I migrated XreplyAI from hardcoded gtag snippets to Google Tag Manager.

One container. All pixels managed in one place. No code deploys to add or change tags. I thought that was the hard part of getting ad attribution right.

It wasn't.

This morning I finished wiring Google Ads conversion tracking — trial_start firing server-side via the GA4 Measurement Protocol, conversion imported into Google Ads, bidding optimized for trials.

Then a new user signed up. And I had no idea where they came from.

Not because GA4 didn't know. GA4 knew — "google / cpc." But our users table has no UTM columns. So I can't:

Calculate LTV by acquisition channel
Know whether Google Ads or X Ads drove a signup
Filter subscribers by source when making budget decisions
The fix is obvious in hindsight: store utm_source, utm_medium, utm_campaign, utm_content, and gclid on the user record at signup. Capture them from the URL on landing, pass them to the backend at magic link / signup time, persist once, never overwrite on subsequent logins.

It's a 2-hour task. I opened a GitHub issue this morning.

The lesson: GTM solves "where do my tags live." UTM columns on users solve "where did this specific person come from." You need both. Most founders running paid traffic have neither.

Fix it before you spend another dollar on ads.

Building XreplyAI in public — an AI social media tool for solo founders. BYOK model, voice-matched content across 8 platforms. xreplyai.com

More Posts

The Audit Trail of Things: Using Hashgraph as a Digital Caliper for Provenance

Ken W. Algerverified - Apr 28

Breaking the AI Data Bottleneck: How Hammerspace's AI Data Platform Eliminates Migration Nightmares

Tom Smithverified - Mar 16

Local-First: The Browser as the Vault

Pocket Portfolioverified - Apr 20

Just completed another large-scale WordPress migration — and the client left this

saqib_devmorph - Apr 7

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelskiverified - Mar 19
chevron_left

Related Jobs

View all jobs →

Commenters (This Week)

3 comments
2 comments
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!