When running lead generation campaigns on Shopify, tracking conversions correctly is essential for measuring results and letting Google Ads optimize effectively. Below is a step-by-step guide to creating a lead conversion tag in Google Ads and deploying it through Google Tag Manager (GTM).
1. Create the Conversion in Google Ads
-
Log in to your Google Ads account.
-
In the top menu, click Tools & Settings > Conversions.
-
Click + New Conversion Action.
-
Choose Website as the source.
-
Select Lead as the category.
-
Enter a name, e.g., Shopify Lead Form Submission.
-
Set Value (use “Don’t assign a value” if not needed, or assign a fixed value per lead).
-
Choose Count = One (since one person submitting multiple times shouldn’t count as multiple conversions).
-
Save and continue.
-
Copy the Conversion ID and Conversion Label (you’ll need them in GTM).
2. Set Up Google Tag Manager (GTM)
-
Log in to Google Tag Manager linked to your Shopify store.
-
Go to Tags > New > Google Ads Conversion Tracking.
-
Paste in the Conversion ID and Conversion Label from Google Ads.
-
Name your tag clearly, e.g., GA – Lead Conversion Tag.
3. Use a URL Path Trigger for Form Submissions
Shopify forms often redirect to a thank-you page after submission (e.g., /pages/thank-you
or /thank-you
).
-
In GTM, go to Triggers > New > Page View.
-
Select Page Path contains /thank-you (or your specific URL).
-
Save this trigger.
-
Attach it to the Lead Conversion Tag you just created.
Now, every time a user submits a lead form and lands on the thank-you page, the conversion will fire.
4. Add a Conversion Linker Tag (Very Important)
Google Ads requires a Conversion Linker Tag to correctly attribute clicks and conversions.
-
In GTM, go to Tags > New > Conversion Linker.
-
Trigger it on All Pages.
-
Save and publish.
This ensures Google Ads can properly read cookies and link ad clicks to conversions.
5. Test & Verify
-
Use Google Tag Assistant or Preview Mode in GTM to confirm the tag fires when the thank-you page loads.
-
Submit a test form on Shopify and check if the conversion records in Google Ads within 24 hours.
-
Final Tip: Always double-check that the thank-you URL is consistent across all forms in Shopify. If you have multiple forms, you may need multiple triggers.