Track Google Ads Conversions in HubSpot
Hubspot users who run Google Ads need accurate conversion tracking to understand which campaigns, ads, and keywords are driving leads. By installing the Google Ads global site tag on your pages, you can send valuable conversion data back to Google Ads and improve optimization decisions.
This guide walks you through how to add the global site tag to your website pages, blog posts, and landing pages so your conversion tracking is both consistent and reliable.
What the Google Ads Global Site Tag Does in HubSpot
The global site tag is a JavaScript snippet provided by Google Ads. When properly installed, it:
- Tracks visits and interactions on your pages.
- Sends conversion data to your Google Ads account.
- Helps Google’s bidding algorithms optimize for more valuable leads.
- Provides insight into which ad clicks result in form submissions or other key actions.
Once the snippet is added to your site through Hubspot, you can configure conversion actions such as form submissions in your Google Ads account and rely on the tag to fire correctly on relevant pages.
Requirements Before Adding the Tag in HubSpot
Before you set up the global site tag through your Hubspot content tools, make sure you have:
- An active Google Ads account with admin access.
- A published conversion action in Google Ads (for example, a form submission or sign-up event).
- Access to your Hubspot content tools for website pages, blog, or landing pages.
- Permissions to edit site header HTML in your content settings.
Having these items ready ensures you can complete the full setup in one workflow, from Google Ads to your Hubspot-hosted content.
Step 1: Copy Your Global Site Tag from Google Ads
First, you need the snippet from Google Ads that you will later paste into Hubspot settings.
- Sign in to your Google Ads account.
- In the top navigation bar, click the tools icon and open Conversions under the Measurement section.
- Select or create the conversion action you want to track on your site.
- In the Tag setup area, choose the option to install the tag yourself.
- Copy the entire global site tag snippet that Google provides. This code block usually begins with
<script>and referencesgtag.
Keep this tag handy in a text editor so you can paste it into Hubspot without modifying the code.
Step 2: Add the Global Site Tag to All HubSpot Pages
To make sure every relevant page is tracked, you should add the snippet to your site header through Hubspot settings. This allows the tag to load on all pages using the selected domain.
Open Your HubSpot Content Settings
- Log in to your Hubspot account.
- In the main navigation bar, click the settings icon.
- In the left sidebar, navigate to Website > Pages.
- Choose the appropriate domain if you manage multiple domains in your Hubspot portal.
These settings control how tracking code is injected across your published pages and blog posts.
Insert the Global Site Tag in the Site Header HTML
- Within the domain settings, locate the Templates or Site header HTML section.
- In the header HTML field, paste the global site tag code snippet you copied from Google Ads.
- Ensure you do not alter the code: keep the
<script>tags intact and avoid adding extra characters. - Click Save or Apply changes to update your Hubspot domain settings.
After saving, the global site tag will load on all pages that use this domain, including website pages, blog posts, and most landing pages created in Hubspot.
Step 3: Confirm the Tag Is Firing on HubSpot Pages
Once the script is installed, confirm that it is working properly so your Google Ads campaigns collect accurate data.
Test with Tag Assistant or Browser Tools
- Install the Google Tag Assistant or use the Google Tag Assistant Companion extension.
- Open a page hosted in Hubspot on the domain where you added the header code.
- Activate the extension and reload the page.
- Confirm that the global site tag is detected and that there are no major errors.
You can also open the browser console and verify that no JavaScript errors appear related to gtag or the global site tag script.
Validate Conversions in Google Ads
- Perform a test action, such as submitting a form that should trigger a conversion.
- Wait for Google Ads to process the data, which may take a few hours.
- In the Conversions section of Google Ads, check that your selected action begins recording conversions from your Hubspot pages.
If you do not see any conversions after a suitable delay, re-check the installed script in your Hubspot header and make sure no other script is blocking it.
Managing Multiple Domains and HubSpot Content Types
If you use multiple domains or subdomains, you might need to repeat the process in each relevant domain’s settings so the global site tag appears everywhere your ads send traffic.
- Website pages: Confirm the domain used for your main site is selected when you paste the code.
- Blog posts: Verify that the blog is hosted on the same Hubspot domain where the header HTML is applied.
- Landing pages: For landing pages on a dedicated domain or subdomain, make sure that specific domain has the global site tag in its header section.
Consistent installation across all Hubspot-managed domains ensures tracking is unified and conversion reporting in Google Ads is complete.
Best Practices for Google Ads Tracking with HubSpot
To get the most value from your conversion tracking setup, follow these operational best practices.
Align HubSpot Forms with Google Ads Conversions
- Map key Hubspot forms (contact, demo request, trial sign-up) to specific conversion actions in Google Ads.
- Use clear naming conventions in both systems so you can tie form submissions to the right conversion goal.
- Monitor conversion rates by landing page and adjust your page content or forms where necessary.
Keep Your Tracking Code Organized
- Document where the global site tag is installed within your Hubspot settings.
- If you add additional tags, such as remarketing or event snippets, keep them grouped in the same header area.
- Avoid duplicating the same global site tag on individual pages, which can cause inflated metrics.
Organized tracking code helps prevent conflicts and ensures your analytics remain trustworthy.
Troubleshooting Global Site Tag Issues in HubSpot
Occasionally, you may encounter tracking problems after installing the tag in Hubspot. Here are common issues and quick checks:
- No tag detected: Confirm the script is pasted in the correct domain header and that the page is published.
- Multiple tags found: Remove duplicate instances from individual page headers or templates.
- JavaScript errors: Use the browser console to identify conflicts with other scripts or miscopied code.
- Conversions not recording: Verify that your Google Ads conversion action is active and that the correct pages are being used for your ad destination URLs.
If you continue to see discrepancies, review Google’s official documentation for the global site tag and compare your setup with the instructions specific to Hubspot-hosted pages.
Additional Resources for HubSpot and Google Ads
For detailed, platform-specific instructions, refer to the official documentation on tracking conversions with the global site tag in Hubspot-hosted content: Track conversions in Google Ads with a global site tag.
If you need strategic guidance on combining paid media strategy with marketing automation, you can explore expert services at Consultevo, which covers performance marketing and analytics implementation.
By correctly installing the global site tag across your Hubspot pages and aligning it with well-defined conversion actions, you gain clear visibility into which Google Ads investments produce the most valuable leads, allowing you to optimize budgets and scale winning campaigns with confidence.
Need Help With Hubspot?
If you want expert help building, automating, or scaling your Hubspot , work with ConsultEvo, a team who has a decade of Hubspot experience.
“`
