Ads

02092
Participant

Google Ads Conversion Tracking for non-hubspot form

SOLVE

Looking to set up google ads conversion tracking for a HubSpot landing page.

 

The CTA I want to track is a "Sign-up" which leads to an auth0 form. Whenever a contact submits the form via auth0 form, a contact is automatically created in HubSpot. 

 

I'm uncertain on how the tracking would work between Google Ads and that form. Looking for some assistnace

0 Upvotes
1 Accepted solution
RubenBurdin
Solution
Top Contributor

Google Ads Conversion Tracking for non-hubspot form

SOLVE

@02092 Here’s the simplest way to get Google Ads credit for an Auth0 sign-up that creates a HubSpot contact—even though the form isn’t a HubSpot form.

1 — Make sure the Google Ads tag fires on the landing page
Settings › Marketing › Ads › Pixels → paste the gTag / GTM container once. (Or drop your GTM snippet into the landing-page header.)

2 — Pick one of these conversion methods
Redirect thank-you page (easiest): after a successful Auth0 sign-up send the user to /signup-success. Place a conversion tag on that page in GTM (“Google Ads Conversion” → your conversion ID/label). Google registers the hit; HubSpot still creates the contact via Auth0.
On-page event (no redirect): Auth0 lets you run a callback like onSuccess. In that function add gtag('event','conversion',{send_to:'AW-XXXX/label'});. Publish that JS in HubSpot’s page settings or via GTM’s “Custom HTML” tag with a trigger that listens for the Auth0 success event.
Offline conversion sync via HubSpot (clean but requires Mktg Pro/Ent): connect your Google Ads account in HubSpot Ads, turn on Offline Conversions, add the “Latest Google Ads Click ID (gclid)” hidden field to the Auth0 form (grab it from the URL or a cookie), then build a simple workflow: trigger = “Contact created AND gclid known” → action = “Sync Google Offline Conversion” (value = deal amount or static 1). Google matches the gclid and credits the ad even if the user blocks scripts.

3 — Test
Use Google Tag Assistant or the Google Ads “Conversions” → Diagnostics tab to confirm hits or uploads within a few minutes.

Pick the redirect if you want quick and code-light, the on-page JS if you can tweak the Auth0 callback, or offline sync if you’re on Pro/Ent and want perfect attribution even when JS doesn’t fire.

Ping me if you need the exact Auth0 callback snippet.

Hope it helps.!

 

RubenB_1-1745517069542.png

Ruben Burdin 

Real-Time Data Sync Between any CRM or Database | Founder @Stacksync (YC W24) 

Did my answer help? Please mark it as a solution to help others find it too.

Ruben Burdin Ruben Burdin
HubSpot Advisor
Founder @ Stacksync
Real-Time Data Sync between any CRM and Database
Stacksync Banner

View solution in original post

0 Upvotes
2 Replies 2
02092
Participant

Google Ads Conversion Tracking for non-hubspot form

SOLVE

Would it be possible to put that JS on our webapp? If a lead visits the landing page on their pc, then converts and opens the webapp, then the tracker would get triggered?

0 Upvotes
RubenBurdin
Solution
Top Contributor

Google Ads Conversion Tracking for non-hubspot form

SOLVE

@02092 Here’s the simplest way to get Google Ads credit for an Auth0 sign-up that creates a HubSpot contact—even though the form isn’t a HubSpot form.

1 — Make sure the Google Ads tag fires on the landing page
Settings › Marketing › Ads › Pixels → paste the gTag / GTM container once. (Or drop your GTM snippet into the landing-page header.)

2 — Pick one of these conversion methods
Redirect thank-you page (easiest): after a successful Auth0 sign-up send the user to /signup-success. Place a conversion tag on that page in GTM (“Google Ads Conversion” → your conversion ID/label). Google registers the hit; HubSpot still creates the contact via Auth0.
On-page event (no redirect): Auth0 lets you run a callback like onSuccess. In that function add gtag('event','conversion',{send_to:'AW-XXXX/label'});. Publish that JS in HubSpot’s page settings or via GTM’s “Custom HTML” tag with a trigger that listens for the Auth0 success event.
Offline conversion sync via HubSpot (clean but requires Mktg Pro/Ent): connect your Google Ads account in HubSpot Ads, turn on Offline Conversions, add the “Latest Google Ads Click ID (gclid)” hidden field to the Auth0 form (grab it from the URL or a cookie), then build a simple workflow: trigger = “Contact created AND gclid known” → action = “Sync Google Offline Conversion” (value = deal amount or static 1). Google matches the gclid and credits the ad even if the user blocks scripts.

3 — Test
Use Google Tag Assistant or the Google Ads “Conversions” → Diagnostics tab to confirm hits or uploads within a few minutes.

Pick the redirect if you want quick and code-light, the on-page JS if you can tweak the Auth0 callback, or offline sync if you’re on Pro/Ent and want perfect attribution even when JS doesn’t fire.

Ping me if you need the exact Auth0 callback snippet.

Hope it helps.!

 

RubenB_1-1745517069542.png

Ruben Burdin 

Real-Time Data Sync Between any CRM or Database | Founder @Stacksync (YC W24) 

Did my answer help? Please mark it as a solution to help others find it too.

Ruben Burdin Ruben Burdin
HubSpot Advisor
Founder @ Stacksync
Real-Time Data Sync between any CRM and Database
Stacksync Banner
0 Upvotes