google-ads

Installation
SKILL.md

google-ads

Google Ads conversion tracking for a web app has three layers, and they stack — get the lower ones right or the top one has nothing to count:

  1. GA4 client tag (gtag.js) — fires purchase in the browser. Easy to see in a real browser, easy to miss server-side.
  2. GA4 server-side Measurement Protocol — your backend posts the same purchase to GA4 after the charge actually succeeds (e.g. a payment webhook), so you don't lose conversions to ad-blockers, closed tabs, or client failures.
  3. Google Ads conversion import from GA4 — Google Ads doesn't track the purchase itself; it imports the GA4 purchase event as a conversion action. If GA4 never recorded the event, there is nothing to import.

You configure these in order. Skipping layer 2 is the usual reason "it worked in testing but production shows nothing."

GA4 client tag (gtag)

Standard GA4 purchase on the confirmation/thank-you page:

Installs
2
GitHub Stars
1
First Seen
Jul 29, 2026