How to Track HubSpot Landing Page & Form Submission with GTM for Google Ads Conversion Tracking

mdniamul - How to Track HubSpot Landing Page & Form Submission with GTM for Google Ads Conversion Tracking
By MD Niamul
Marketing Automation | Google Ads | Full‑Stack Web Analytics & Conversion Tracking Specialist

Introduction

Tracking HubSpot landing page views and form submissions is essential for measuring lead performance and optimizing Google Ads campaigns. If you are using HubSpot Landing Pages or HubSpot Forms, you can accurately track conversions using Google Tag Manager (GTM) and send them directly to Google Ads.

In this guide, you’ll learn how to track HubSpot landing page views and form submissions using a data layer–based approach, configure GTM triggers and Google Ads tags, and verify everything step by step.

Why Should We Track HubSpot Conversions in Google Ads?

Tracking HubSpot conversions in Google Ads allows you to:

  • Measure real lead generation from paid traffic

  • Optimize Smart Bidding strategies (Maximize Conversions / tCPA)

  • Attribute conversions to keywords, ads, and campaigns

  • Identify high-performing landing pages and forms

  • Reduce wasted ad spend

Prerequisites

Before starting, make sure you have:

  • A HubSpot account with Landing Pages or Forms

  • Google Tag Manager (GTM) installed on your website or HubSpot pages

  • A Google Ads account with conversion tracking access

  • HubSpot forms embedded or hosted

🚀 Need Help with HubSpot Tracking?

If you need help with the data layer script, GTM setup, or troubleshooting, I can assist you.

✅ Hire Me for Setup: WhatsApp Me
✅ Book a Consultation: Schedule a Call

Step 1: Create a Google Ads Conversion Action

  1. Go to Google Ads → Tools & Settings → Conversions

  2. Click New conversion action

  3. Select Website

  4. Category: Submit lead form

  5. Conversion name: HubSpot Lead

  6. Value: Use the same value or set your own

  7. Count: One

  8. Attribution model: Data-driven (recommended)

  9. Save and continue

mdniamul - Create a Google Ads Conversion Action

📌 Copy and keep:

  • Conversion ID

  • Conversion Label

mdniamul - Create a Google Ads Conversion Action

Step 2: Add HubSpot Form Submission Listener (Data Layer Script)

HubSpot fires a native JavaScript event when a form is successfully submitted. We can listen to that event and push it into the dataLayer.

HubSpot Form Submission Listener Code

Add the following code using a Custom HTML Tag in GTM:

Add the Script in GTM

  1. Log in to Google Tag Manager

  2. Go to Tags → New

  3. Name the tag: HubSpot Form Data Layer Listener

  4. Tag Type: Custom HTML

  5. Paste the script above

  6. Trigger: All Pages (or HubSpot pages only)

  7. Save

mdniamul - Add HubSpot Form Submission Listener (Data Layer Script)

Step 3: (Optional) Track HubSpot Landing Page Views

If you want to track landing page views as a conversion:

Option A: Page View Based Conversion

  1. Create a Trigger → Page View

  2. Condition: Page URL contains /landing-page-slug

  3. Use this trigger for a separate Google Ads conversion tag

This is useful for top-of-funnel tracking.

Step 4: Create a Custom Event Trigger in GTM

  1. Go to Triggers → New

  2. Name: HubSpot Form Submission

  3. Trigger Type: Custom Event

  4. Event Name: hubspot_form_submit

  5. Trigger fires on: All Custom Events

  6. Save

📌 Optional filter:

  • formId equals xxxxxxxx

Step 5: Create Google Ads Conversion Tag in GTM

  1. Go to Tags → New

  2. Name: Google Ads – HubSpot Form Conversion

  3. Tag Type: Google Ads Conversion Tracking

  4. Enter:

    • Conversion ID

    • Conversion Label

  5. Trigger: **HubSpot Form Submission`

  6. Save

mdniamul - Create Google Ads Conversion Tag in GTM

Step 6: Add Conversion Linker Tag (Required)

  1. Go to Tags → New

  2. Name: Conversion Linker

  3. Tag Type: Conversion Linker

  4. Trigger: All Pages

  5. Save

This ensures proper Google Ads attribution.

mdniamul - Add Conversion Linker Tag (Required)

Step 7: Test the Setup in GTM

  1. Click Preview in GTM

  2. Open your HubSpot landing page

  3. Submit a test form

  4. Verify in Tag Assistant:

    • Event hubspot_form_submit appears

    • Google Ads conversion tag fires

mdniamul - Test the Setup in GTM

Step 8: Publish the GTM Container

Once testing is successful:

  1. Click Submit in GTM

  2. Add a version name and description

  3. Click Publish

Step 9: Verify Conversion in Google Ads

  1. Go to Tools & Settings → Conversions

  2. Open HubSpot Lead

  3. Status will change to Recording conversions within a few hours

Conclusion

You have successfully set up HubSpot Landing Page & Form Submission tracking for Google Ads using GTM. This setup enables accurate lead tracking, better attribution, and improved Google Ads optimization.

🚀 Need Help Advanced Tracking Setup?

💬 Want this implemented without mistakes?

I’ve helped 850+ advertiser agencies & D2C brands unlock $11.6M+ revenue by implementing 1,500+ client-side & server-side tracking systems.

⮏ My core services include:

⨭ Google Tag Manager (GTM) — manage data layers & (Marketing platform Tag, Trigger & Variables).

⨭ Custom Code by GTM — HTML, CSS & JavaScript for the help of marketing platform advanced tracking.

⨭ Server-Side Tracking — Bypassing ITP/Ad-blockers for 99% accuracy.

⨭ Google Analytics 4 (GA4) — visualize customer journeys.

⨭ Multi-Channel CAPI — Facebook, TikTok, Pinterest & Snapchat Conversion API & Klaviyo email marketing tools.

⨭ Third Party Checkout Conversion Tracking — Shopify, Stripe, GoQuick, ShipRocket, PayPal or more.

⨭ Google Consent Mode (GCM) — maintain GDPR compliance.

⨭ Marketing Automation — streamline workflows (Zapier/n8n/Make).

⨭ CRM Conversion Tracking — link offline sales to ads.

⨭ Tag Management — GTM & Third-Party Checkout Tracking

⨭ Offline & CRM Tracking — HubSpot, Salesforce, Zoho, Pipedrive, Oddo, Webhook & Sheet.

⨭ Advanced Analytics — GA4, Google Looker Studio & Big Query (SQL) for deep data visualization.

If you want your tracking done right the first time, message me.

Leave a Reply

Your email address will not be published. Required fields are marked *

MD NIAMUL

Marketing Analytics & Conversion Tracking Specialist

Niamul

If You Need GTM Listener Code Submit Your Email