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:
- GA4 client tag (
gtag.js) — firespurchasein the browser. Easy to see in a real browser, easy to miss server-side. - GA4 server-side Measurement Protocol — your backend posts the same
purchaseto 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. - Google Ads conversion import from GA4 — Google Ads doesn't track the purchase itself; it imports the GA4
purchaseevent 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: