Google ads conversion tracking issue

AI-generated summary

The store owner needs Google Ads to count enquiries from two Shopify forms: a theme contact form and popup/inline forms from the Shopify Forms app. The theme form reloads the Get a Quote page with contact_posted=true, which participants suggest using as a conversion signal; a session flag can prevent refreshes from counting duplicates.

The Forms app forms stay on the same page and display a confirmation message, so URL-based tracking will not work. Earlier replies proposed Shopify custom pixels, Google Tag Manager (GTM), or Analytics events, but the latest response warns that custom pixels cannot access storefront form elements and Shopify Forms has no native customer-event submission signal. GTM’s standard form trigger may also miss these forms because they use a Shadow DOM component. Suggested options are a custom GTM listener for the confirmation state or replacing the forms with ones that redirect or emit a trackable event. Each form should be tested separately and conversions checked for duplicates. No working setup or final resolution is confirmed.

Good afternoon, I need someone to help establish correct conversion tracking for my new shopify website, as the google ads team could not help with lead forms tracking. I have theh forms app, and also use theme contact forms.

Hi Julia, I can help you look into this. Could you share your store link and the pages with the forms you want to track?

When someone submits a form, does it take them to a thank-you page or show a confirmation on the same page? That would help me work out how to track completed enquiries from both types of form.

Remy | RNR Digital Media Group

Hi Remy, the website is: www.friendlywater.co.uk, you an have a look. The website contact form returns this: Get a Quote – Friendly Water The Forms pop up all just says: Form submitted. There is an inline form, as well, from Forms app. So you need to see.

Hi @julia2505, the two forms need two different triggers:

  1. Theme contact form (your Get a Quote page): after a successful submit, Shopify reloads the page with contact_posted=true in the URL. Use that as the conversion signal and fire the Google Ads conversion (your AW- ID and label) only when the URL contains it. Customer events can catch it through page_viewed.

  2. Forms app popup and inline form: they only show “Form submitted” with no page change, so there’s no URL to target. In Settings > Customer events, a custom pixel can subscribe to the form_submitted event and send the Ads conversion from there. Test it with one real submit first. Also note it fires on submit, so it can count attempts that fail validation. Compare it with the leads in your inbox for a week.

In Google Ads, set these up as a lead form conversion action, separate from the purchase conversion from the Google & YouTube app, so nothing gets double counted. If you show a cookie banner to UK visitors, people who decline won’t be tracked, so Ads will report fewer leads than you actually get.

  • Rio at Expatify

Hey @julia2505, for the theme form that lands on the get-a-quote page, create a page-load conversion in Google Ads for that URL. The Forms popup stays on the same page, so it has to come from the app’s own conversion or pixel setting — check the app settings and ask its support if there’s no tracking option there.

Lead-form tracking on Shopify needs one trigger per form, because the Forms app submission and your theme’s contact form are two different events — one shared trigger is usually why a form goes untracked. In GTM, set up a Form Submission trigger for the theme form and a separate trigger for the Forms app, then one Google Ads conversion tag per trigger. Test each form once in GTM Preview: if a submission doesn’t appear there, that form needs its own event before the tag can fire. Google’s own team often can’t help with this because the setup lives in your theme and apps, not in Ads. For context, I run FHAVI — we set up Google Ads and server-side tracking for Shopify stores.

A URL-based conversion can’t fire when nothing changes. The popup only swaps to “Form submitted” on the same page, so Google Ads never sees a new destination and records nothing.

The conversion has to be an event instead. Two routes work: mark the submission as a key event in Google Analytics and import it as a conversion action in Ads, or send an event through the Google tag when the form is submitted. For the Analytics route you need Admin access in Ads and Edit access on the property, and the import option can take 24 to 48 hours to appear after the event is marked.

The catch is the popup. Before choosing a route, submit it once and check whether that submission actually produces an event you can see in Analytics. If it doesn’t, no setup in Ads will ever receive data from it.

Your inline theme form is the easier one, as long as submitting it lands on its own URL like “Get a Quote – Friendly Water” instead of reloading in place.

Hi Julia,

Thank you for reaching out and sharing the details of your issue.

The most reliable way to track form submissions is through Google Tag Manager (GTM). With GTM, we can deploy a JavaScript snippet that pushes a dataLayer event whenever a user successfully submits the form, whether that’s shown by a thank-you message or a redirect to a thank-you page.

This approach is especially useful for Google Ads. For Enhanced Conversions, we need to securely pass user-provided data, such as email address and phone number, along with the conversion. GTM lets us capture this data at the point of submission and send it to Google Ads correctly.

For these reasons, I recommend setting up form submission tracking through GTM.

Please let me know if you have any questions

Thank you

You can do this inside Shopify without editing the theme, using a custom pixel.

  1. In Google Ads, go to Goals > Conversions > New conversion action > Website. Set it up manually with code and pick the “Submit lead form” category. Copy the conversion ID (AW-…) and the conversion label.
  2. In Shopify admin, go to Settings > Customer events > Add custom pixel and paste this, with your ID and label swapped in:

const s = document.createElement(‘script’);
s.src = ‘https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXX’;
s.async = true;
document.head.appendChild(s);
window.dataLayer = window.dataLayer || ;
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());
gtag(‘config’, ‘AW-XXXXXXX’);

analytics.subscribe(‘form_submitted’, (event) => {
const fields = event.data.element.elements || ;
const isContact = fields.some(f => f.name === ‘form_type’ && f.value === ‘contact’);
if (isContact) {
gtag(‘event’, ‘conversion’, { send_to: ‘AW-XXXXXXX/YOUR_LABEL’ });
}
});

  1. Save it, then click Connect.

@julia2505 You can track both forms, but the setup depends on how the forms app and Shopify theme forms handle submission. I’d recommend usinng Shopify customer events or GTM to track successful submissions and send them to Google Ads. Make sure both form types trigger correctly and conversions aren’t duplicated.

Hi there @julia2505
If you check each form individually, you can see if each form that should trigger a conversion event is actually doing so The correct event for Shopify contact forms is with google tag manager successful submissions more often felt to anti refer to click button. Ensure you are not leavng your Form app to check off if Google Ads conversion events is a native configuration of the form, or your form end up redirecting to a confirmation page after successful submission. Then configure distinct events in Ads and Fire them off with Tag Assistant. In order to avoid double conversion and doubters in your campaign performance, each conversion must be verified and validated with a successful single submission.

$21 fixed — I’ll get your lead-form conversions tracking correctly in Google Ads, so every enquiry from your contact form and Forms app shows up as a conversion instead of going untracked.

I can set this up with a custom pixel + GTM: fire one conversion when the theme contact form submits (thank-you URL trigger) and another when the Forms app popup submits, then verify both in Google Ads before handover. The Google Ads team couldn’t help because lead-form tracking needs this custom setup — that’s exactly the gap I’d close.

Quick check first: are you already running GTM on the store, or would you like me to set the pixel up directly in Shopify?

For lead forms like yours you can set each conversion action count to one rather than every. Google Ads then counts one conversion per ad click so repeat submits after the same click won’t inflate it. Since you have two actions (theme form and popup), someone who fills in both after one click can still count once in each. You can also switch actions to Primary. Secondary actions aren’t used for bidding.

Yes, this can be handled through Shopify Custom Pixels and Google Tag Manager. You’ll need to track both form submissions separately and verify that each conversion fires correctly in Google Ads without duplication.

If GTM is already installed, we can use the existing setup. Otherwise, Shopify Custom pixels can be configured to capture the required events.

Out of curiosity why are you trying to setup lead forms for a Shopify store? Lead forms are intended for lead generation not ecommerce.

Hi @julia2505 ,

One important catch with the suggestions above: Shopify Customer Events custom pixels run inside a strict sandbox with no access to storefront form elements, and there is no native pixel event for the Shopify Forms app, so a custom pixel alone will not track those popup or inline forms. GTM’s standard form submission trigger usually misses Shopify Forms too because the app renders inside a Shadow DOM component without a normal page reload.

For the theme Get a Quote form, firing Google Ads on the contact_posted=true URL works, just store a quick flag in sessionStorage inside GTM so a page refresh does not log duplicate conversions. For the popup and inline forms, you either need a small GTM listener watching the Shopify Forms confirmation state to push a custom dataLayer event, or swap them for a form setup that redirects to a dedicated confirmation page or fires a clean dataLayer event directly.

Thanks..!