Skip to content

Add Google Ads Conversion Tracking

What Is Conversion Tracking?

A Google Ads conversion tag fires on the order confirmation (Thank You) page after a customer completes a purchase. It reports the order back to Google so you can see which ads and keywords are driving sales.

Cartly has a dedicated injection point for order-confirmation scripts — separate from site-wide scripts — so your conversion tag fires exactly once per successful purchase and never on error pages.

Where to Add the Tag

Go to Preferences → Checkout / Order Status Scripts. This section is specifically for code that should run on the order confirmation page. Do not use Settings → Custom Scripts for conversion tracking — that section fires on every page of your storefront, which would inflate your conversion counts.

How to Add a Google Ads Tag

  1. In your Google Ads account, go to Tools → Measurement → Conversions.
  2. Create a new conversion action or open an existing one. Choose Website as the source.
  3. In the tag setup, select Use Google Tag Manager or Install the tag yourself. If installing yourself, copy the Global site tag snippet — it usually contains two <script> blocks.
  4. In your Cartly admin, go to Preferences → Checkout / Order Status Scripts.
  5. Paste the Google Ads snippet into the Head Script field.
  6. Click Save.

Cartly automatically handles the CSP (Content Security Policy) requirements — you do not need to add any nonce attributes to the script tags.

Multi-Script Snippets

Google Ads typically gives you two <script> tags to paste (an async loader script and an inline configuration block). Cartly executes both correctly — paste the full snippet as-is without splitting it.

Testing Your Tag

  1. Complete a test order on your storefront.
  2. On the Thank You page, open browser DevTools → Network tab and look for a request to googleadservices.com or googletagmanager.com.
  3. In Google Ads, use Tools → Tag Diagnostics to verify the tag is firing.

Other Conversion Tracking Platforms

The same injection point works for:

  • Facebook Pixel — paste the base Pixel code + Purchase event in the Head or Body Script field.
  • TikTok Pixel — paste the TikTok Pixel snippet in the Head Script field.
  • Bing Ads / Microsoft Advertising — paste the UET tag in the Head Script field.
  • Snapchat Pixel, Pinterest Tag, Twitter Pixel — all work the same way.

See also: Add a chat widget or GTM to your storefront (site-wide scripts)

Was this helpful?