Skip to content

Detect Google Ads conversion tracking loaded through gtag.js (AW- id) - #397

Closed
jonathanmaurin wants to merge 1 commit into
HTTPArchive:mainfrom
jonathanmaurin:google-ads-gtag-aw
Closed

jonathanmaurin wants to merge 1 commit into
HTTPArchive:mainfrom
jonathanmaurin:google-ads-gtag-aw

Conversation

@jonathanmaurin

@jonathanmaurin jonathanmaurin commented Oct 15, 2026 •

Copy link
Copy Markdown

Google Ads Conversion Tracking is now mostly installed through the global site tag: https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX. The current definition only matches the legacy conversion_async.js script and an inline scripts pattern, so most of these sites are not detected in the crawl.

This adds the gtag URL with an AW- id to scriptSrc. AW- ids are specific to Google Ads (GA4 uses G-, GTM uses GTM-), so it should not overlap with Google Analytics.

npm run lint and npm run validate pass locally.

Test websites:

🤖 Generated with Claude Code

…AW- id

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tunetheweb

Copy link
Copy Markdown
Member

Please reopen using the template so CI can test the sites. Also limit it to 5 sites or so.

@tunetheweb tunetheweb closed this Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants