{"id":3429,"date":"2025-04-30T15:26:32","date_gmt":"2025-04-30T15:26:32","guid":{"rendered":"https:\/\/gaconnector.com\/docs\/?p=3429"},"modified":"2025-07-21T14:02:42","modified_gmt":"2025-07-21T14:02:42","slug":"integrating-ga-connector-with-hubspot-crm","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/docs\/integrating-ga-connector-with-hubspot-crm\/","title":{"rendered":"Integrating GA Connector with HubSpot CRM"},"content":{"rendered":"<p>GA Connector integrates Google Analytics data with HubSpot contacts and sends to Google Analytics stats from your HubSpot deals, enabling users to:<\/p>\n<ul>\n<li>Identify the source, medium and other Google Analytics information of your Contacts, helping you understand where your leads come from.<\/li>\n<li>Import stats on closed deals and key datapoints to Google Analytics as events allowing you to see deals closed by your sales team and measure marketing performance more effectively (additional add-on).<\/li>\n<\/ul>\n<h2>Install:<\/h2>\n<p><strong>1. Login at https:\/\/app.gaconnector.com\/setup\/hubspot\/<\/strong><br \/>\nRequires an active GA Connector account. In case you don\u2019t have one yet, feel free to <a href=\"https:\/\/app.gaconnector.com\/sign-up?crm=hubSpot\" target=\"_blank\" rel=\"noopener\">sign up for a 30-day free trial here<\/a>.<\/p>\n<p><strong>2. Install GA Connector tracking code on your website<\/strong><br \/>\nIn our setup wizard, a piece of code will be provided to you. You need to add this on the &lt;head&gt; portion of your website and it needs to be placed on every page of your website, even on the pages without lead generation forms.You can also opt to install our GA Connector script via GTM in order to optimize how it loads.<\/p>\n<pre class=\"lang:default decode:true\">&lt;script src=\"https:\/\/track.gaconnector.com\/gaconnector.js\" type=\"text\/javascript\"&gt;&lt;\/script&gt;\r\n&lt;script type=\"text\/javascript\"&gt;gaconnector2.track('YOUR GA CONNECTOR ACCOUNT ID');&lt;\/script&gt;<\/pre>\n<p><strong><br \/>\n3. Install the GA Connector App for HubSpot<br \/>\n<img decoding=\"async\" class=\"alignnone wp-image-3496\" src=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/authorize-hubspot-700x951.jpg\" alt=\"\" width=\"500\" height=\"679\" srcset=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/authorize-hubspot-700x951.jpg 700w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/authorize-hubspot-221x300.jpg 221w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/authorize-hubspot-768x1044.jpg 768w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/authorize-hubspot-44x60.jpg 44w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/authorize-hubspot-110x150.jpg 110w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/authorize-hubspot.jpg 900w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/strong><\/p>\n<p><strong>3.1 <\/strong>Click on <strong>Install GA Connector App<\/strong><\/p>\n<p><strong>3.2 <\/strong>Select your HubSpot account (portal)<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-3500\" src=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot1-700x523.jpg\" alt=\"\" width=\"500\" height=\"373\" srcset=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot1-700x523.jpg 700w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot1-300x224.jpg 300w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot1-768x573.jpg 768w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot1-60x45.jpg 60w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot1-150x112.jpg 150w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot1.jpg 935w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><strong>3.3<\/strong> Click <strong>Choose Account<br \/>\n<\/strong><br \/>\n<strong>3.4<\/strong> Review the requested scopes on this screen. GA Connector requests access to read contacts and deals, and read and edit contact properties and forms.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-3505\" src=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot2-700x754.jpg\" alt=\"\" width=\"500\" height=\"538\" srcset=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot2-700x754.jpg 700w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot2-279x300.jpg 279w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot2-768x827.jpg 768w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot2-56x60.jpg 56w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot2-139x150.jpg 139w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot2.jpg 951w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><strong>3.5<\/strong> Click <strong>Connect app<br \/>\n<\/strong><br \/>\n<strong>3.6<\/strong> See the next section<\/p>\n<h2>Configure:<\/h2>\n<p>There are two main features of GA Connector that you can configure :<\/p>\n<ol>\n<li><span style=\"text-decoration: underline;\">GA to HubSpot<\/span> &#8211; Identifies the source, medium and other Google Analytics information of your Contacts.<\/li>\n<li><span style=\"text-decoration: underline;\">HubSpot to GA (optional add-on)<\/span> &#8211; Sends stats on closed deals and key datapoints to Google Analytics as events<\/li>\n<\/ol>\n<h4><span style=\"text-decoration: underline;\">1. GA to HubSpot<\/span><\/h4>\n<p>The script you\u2019ve added to your website from the Install section identifies the tracking information about your web visitors and stores them via cookies in the browser.<\/p>\n<p>In order to send this to HubSpot, you\u2019ll need to create hidden fields to your forms and set the field IDs to the table below. You then need to map them to the corresponding custom fields that were created in HubSpot by the GA Connector App.<\/p>\n\n<table id=\"tablepress-6\" class=\"tablepress tablepress-id-6\">\n<thead>\n<tr class=\"row-1 odd\">\n\t<th class=\"column-1\">Label<\/th><th class=\"column-2\">Input ID<\/th><th class=\"column-3\">Label<\/th><th class=\"column-4\">Input ID<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-hover\">\n<tr class=\"row-2 even\">\n\t<td class=\"column-1\"><strong>All Traffic Sources <\/strong><\/td><td class=\"column-2\">all_traffic_sources<\/td><td class=\"column-3\"><strong>Last Click Campaign<\/strong><\/td><td class=\"column-4\">lc_campaign<\/td>\n<\/tr>\n<tr class=\"row-3 odd\">\n\t<td class=\"column-1\"><strong>Browser<\/strong><\/td><td class=\"column-2\">browser<\/td><td class=\"column-3\"><strong>Last Click Channel<\/strong><\/td><td class=\"column-4\">lc_channel<\/td>\n<\/tr>\n<tr class=\"row-4 even\">\n\t<td class=\"column-1\"><strong>City (from IP address)<\/strong><\/td><td class=\"column-2\">city<\/td><td class=\"column-3\"><strong>Last Click Content<\/strong><\/td><td class=\"column-4\">lc_content<\/td>\n<\/tr>\n<tr class=\"row-5 odd\">\n\t<td class=\"column-1\"><strong>Country (from IP address)<\/strong><\/td><td class=\"column-2\">country<\/td><td class=\"column-3\"><strong>Last Click Landing Page<\/strong><\/td><td class=\"column-4\">lc_landing<\/td>\n<\/tr>\n<tr class=\"row-6 even\">\n\t<td class=\"column-1\"><strong>First Click Campaign<\/strong><\/td><td class=\"column-2\">fc_campaign<\/td><td class=\"column-3\"><strong>Last Click Medium<\/strong><\/td><td class=\"column-4\">lc_medium<\/td>\n<\/tr>\n<tr class=\"row-7 odd\">\n\t<td class=\"column-1\"><strong>First Click Channel<\/strong><\/td><td class=\"column-2\">fc_channel<\/td><td class=\"column-3\"><strong>Last Click Referrer<\/strong><\/td><td class=\"column-4\">lc_referrer<\/td>\n<\/tr>\n<tr class=\"row-8 even\">\n\t<td class=\"column-1\"><strong>First Click Content<\/strong><\/td><td class=\"column-2\">fc_content<\/td><td class=\"column-3\"><strong>Last Click Source<\/strong><\/td><td class=\"column-4\">lc_source<\/td>\n<\/tr>\n<tr class=\"row-9 odd\">\n\t<td class=\"column-1\"><strong>First Click Landing Page<\/strong><\/td><td class=\"column-2\">fc_landing<\/td><td class=\"column-3\"><strong>Last Click Term<\/strong><\/td><td class=\"column-4\">lc_term<\/td>\n<\/tr>\n<tr class=\"row-10 even\">\n\t<td class=\"column-1\"><strong>First Click Medium <\/strong><\/td><td class=\"column-2\">fc_medium<\/td><td class=\"column-3\"><strong>Last Click Timestamp<\/strong><\/td><td class=\"column-4\">lc_timestamp<\/td>\n<\/tr>\n<tr class=\"row-11 odd\">\n\t<td class=\"column-1\"><strong>First Click Referrer<\/strong><\/td><td class=\"column-2\">fc_referrer<\/td><td class=\"column-3\"><strong>Longitude<\/strong><\/td><td class=\"column-4\">longitude<\/td>\n<\/tr>\n<tr class=\"row-12 even\">\n\t<td class=\"column-1\"><strong>First Click Source<\/strong><\/td><td class=\"column-2\">fc_source<\/td><td class=\"column-3\"><strong>Latitude<\/strong><\/td><td class=\"column-4\">latitude<\/td>\n<\/tr>\n<tr class=\"row-13 odd\">\n\t<td class=\"column-1\"><strong>First Click Term<\/strong><\/td><td class=\"column-2\">fc_term<\/td><td class=\"column-3\"><strong>Number of Website Visits<\/strong><\/td><td class=\"column-4\">page_visits<\/td>\n<\/tr>\n<tr class=\"row-14 even\">\n\t<td class=\"column-1\"><strong>First Click Timestamp<\/strong><\/td><td class=\"column-2\">fc_timestamp<\/td><td class=\"column-3\"><strong>Operating System<\/strong><\/td><td class=\"column-4\">OS<\/td>\n<\/tr>\n<tr class=\"row-15 odd\">\n\t<td class=\"column-1\"><strong>Google Analytics CID<\/strong><\/td><td class=\"column-2\">GA_Client_ID<\/td><td class=\"column-3\"><strong>Device<\/strong><\/td><td class=\"column-4\">device<\/td>\n<\/tr>\n<tr class=\"row-16 even\">\n\t<td class=\"column-1\"><strong>Google Analytics Measurement ID<\/strong><\/td><td class=\"column-2\">GA_Measurement_ID<\/td><td class=\"column-3\"><strong>Region<\/strong><\/td><td class=\"column-4\">region<\/td>\n<\/tr>\n<tr class=\"row-17 odd\">\n\t<td class=\"column-1\"><strong>Google Analytics Session ID<\/strong><\/td><td class=\"column-2\">GA_Session_ID<\/td><td class=\"column-3\"><strong>Pages Visited <\/strong><\/td><td class=\"column-4\">pages_visited_list<\/td>\n<\/tr>\n<tr class=\"row-18 even\">\n\t<td class=\"column-1\"><strong>Google Click Identifier<\/strong><\/td><td class=\"column-2\">gclid<\/td><td class=\"column-3\"><strong>Time Spent on Website <\/strong><\/td><td class=\"column-4\">time_passed<\/td>\n<\/tr>\n<tr class=\"row-19 odd\">\n\t<td class=\"column-1\"><strong>IP Address<\/strong><\/td><td class=\"column-2\">ip_address<\/td><td class=\"column-3\"><strong>Time Zone <\/strong><\/td><td class=\"column-4\">time_zone<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-6 from cache -->\n<h4><span style=\"text-decoration: underline;\">1.1 Setting up GA to HubSpot with HubSpot Forms<\/span><\/h4>\n<p><em><strong>A. For HubSpot forms built using the legacy form editor:<br \/>\n<\/strong><\/em><br \/>\nThe GA Connector app for HubSpot can automatically add these fields to your form.<\/p>\n<p>A sample form is also created when you install the GA Connector app. You can find this at <strong>HubSpot CRM dashboard &gt; Marketing &gt; Forms<\/strong>. You can duplicate and customize this according to your needs.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-3491 size-large\" src=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot-form-700x345.jpg\" alt=\"GA Connector HubSpot form\" width=\"700\" height=\"345\" srcset=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot-form-700x345.jpg 700w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot-form-300x148.jpg 300w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot-form-768x379.jpg 768w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot-form-1536x757.jpg 1536w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot-form-60x30.jpg 60w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot-form-150x74.jpg 150w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/gaconnector-hubspot-form.jpg 1586w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>In case you already have a form, you can automatically add hidden fields to this <a href=\"https:\/\/staging-app.gaconnector.com\/setup\/hubspot-forms\/\" target=\"_blank\" rel=\"noopener\">using our HubSpot form setup wizard<\/a>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-3494\" src=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-forms-setup-wizard-700x817.jpg\" alt=\"HubSpot Form setup wizard\" width=\"500\" height=\"584\" srcset=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-forms-setup-wizard-700x817.jpg 700w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-forms-setup-wizard-257x300.jpg 257w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-forms-setup-wizard-768x896.jpg 768w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-forms-setup-wizard-51x60.jpg 51w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-forms-setup-wizard-129x150.jpg 129w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-forms-setup-wizard.jpg 916w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>Just select which form you want the hidden fields to be added and use the embed code generated by the setup wizard.<\/p>\n<div id=\"visual-editor\"><em><strong>B. For HubSpot forms built using the new visual form editor:<\/strong><\/em><\/div>\n<p>You&#8217;ll need to manually add the GA Connector fields to your forms.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-3562\" src=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-form-visual-editor.webp\" alt=\"\" width=\"500\" height=\"762\" srcset=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-form-visual-editor.webp 686w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-form-visual-editor-197x300.webp 197w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-form-visual-editor-39x60.webp 39w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-form-visual-editor-98x150.webp 98w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>Add the following script to the page where your HubSpot form is embedded.<\/p>\n<pre class=\"lang:default decode:true\">&lt;script&gt;\r\n    window.addEventListener('hs-form-event:on-ready', function(event) {\r\n        if (typeof HubSpotFormsV4 === \"undefined\" || typeof gaconnector === \"undefined\") return;\r\n\r\n        var form = HubSpotFormsV4.getFormFromEvent(event);\r\n        if (!form || typeof form.getFormFieldValues !== \"function\") return;\r\n\r\n        form.getFormFieldValues().then(function(formFieldValues) {\r\n            var formIds = [];\r\n            for (var i = 0; i &lt; formFieldValues.length; i++) {\r\n                formIds.push(formFieldValues[i].name);\r\n            }\r\n\r\n            var gaFields = gaconnector.getCookieValues();\r\n\r\n            for (var fieldName in gaFields) {\r\n                if (!gaFields.hasOwnProperty(fieldName)) continue;\r\n\r\n                var matchedFormId = null;\r\n                for (var j = 0; j &lt; formIds.length; j++) {\r\n                    if (formIds[j].indexOf(fieldName) !== -1) {\r\n                        matchedFormId = formIds[j];\r\n                        break;\r\n                    }\r\n                }\r\n\r\n                if (matchedFormId) {\r\n                    form.setFieldValue(matchedFormId, gaFields[fieldName]);\r\n                }\r\n            }\r\n        });\r\n    });\r\n&lt;\/script&gt;<\/pre>\n<h4><span style=\"text-decoration: underline;\">1.2 Integration with Non-HubSpot forms<\/span><\/h4>\n<p>If you are using other forms, here are the guides for integrating the forms that are the most popular among the clients of GA Connector:<\/p>\n<ul>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/generate-a-web-to-lead-form-in-salesforce-with-ga-connector-fields\/\">Salesforce Web-to-Lead forms<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/connect-zoho-webforms-with-ga-connector\/\">Zoho CRM Webforms<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/integrate-ga-connector-zoho-salesiq\/\">Zoho SalesIQ<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/free-trial-setup-instructions-for-contact-form-7\/\">Contact Form 7 for WordPress<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/free-trial-setup-instructions-for-gravity-forms\/\">Gravity forms for WordPress<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/how-to-integrate-ga-connector-with-ninja-forms\/\">Ninja Forms for WordPress<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/ga-connector-free-trial-setup-instructions-for-unbounce\/\">Unbounce<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/add-ga-connector-tracking-to-pardot-iframe-forms\/\">Pardot<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/integrating-ga-connector-livechat\/\">LiveChat<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/how-to-push-ga-connector-data-to-intercom\/\">Intercom<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/connect-mailchimp-forms-ga-connector-1-0\/\">Mailchimp forms<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/integrate-ga-connector-calendly-forms\/\">Calendly<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/integrate-ga-connector-freshworks-crm-using-smartforms\/\">Freshworks CRM (formerly Freshsales)\u00a0Smart\u00a0forms<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/integrate-ga-connector-freshworks-crm-using-classic-forms\/\">Freshworks CRM (formerly Freshsales) Classic\u00a0forms<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/integrate-ga-connector-agile-crm-form-builder\/\">Agile CRM<\/a><\/li>\n<li><a href=\"https:\/\/gaconnector.com\/docs\/integrate-ga-connector-formstack\/\">FormStack<\/a><\/li>\n<\/ul>\n<p>Not seeing your form? Feel free to send us a message at support@gaconnector.com so we could help you check if your form is eligible for integration.<\/p>\n<h4><span style=\"text-decoration: underline;\">2. HubSpot to GA<\/span><\/h4>\n<ol>\n<li>Login at <a href=\"http:\/\/app.gaconnector.com\/dashboard\/integration\/crm-to-ga4\" target=\"_blank\" rel=\"noopener\">app.gaconnector.com\/dashboard\/integration\/crm-to-ga4<\/a><\/li>\n<li>Under <strong>Connection Settings, <\/strong>Enter the <a href=\"https:\/\/support.google.com\/analytics\/answer\/12270356?hl=en\" target=\"_blank\" rel=\"noopener\">Measurement ID<\/a> and API secret of the GA4 property to which you want the events to be sent.<\/li>\n<li>To create an API secret, navigate in the Google Analytics UI to:<br \/>\n<strong>Admin &gt; Data Streams &gt; choose your stream &gt; Measurement Protocol &gt; Create<\/strong><\/li>\n<\/ol>\n<h2>Use:<\/h2>\n<ol>\n<li><strong>GA to HubSpot<\/strong> &#8211; Whenever a contact is created from your configured lead generation forms, it should contain tracking information once it arrives in HubSpot.<br \/>\n<img decoding=\"async\" class=\"alignnone wp-image-3412 size-large\" src=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-lead-utm-information-success2x-700x757.webp\" alt=\"HubSpot Contact with GA Connector data\" width=\"700\" height=\"757\" srcset=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-lead-utm-information-success2x-700x757.webp 700w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-lead-utm-information-success2x-277x300.webp 277w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-lead-utm-information-success2x-768x831.webp 768w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-lead-utm-information-success2x-55x60.webp 55w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-lead-utm-information-success2x-139x150.webp 139w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/hubspot-lead-utm-information-success2x.webp 1026w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/li>\n<li><strong>HubSpot to GA<\/strong> &#8211; GA Connector will send an event to your GA property whenever a certain data point triggers on HubSpot. Events are sent to Google Analytics from HubSpot every 5-30 mins.\n<table id=\"tablepress-15\" class=\"tablepress tablepress-id-15\">\n<thead>\n<tr class=\"row-1 odd\">\n\t<th class=\"column-1\">Data Point<\/th><th class=\"column-2\">Event sent to GA4<\/th><th class=\"column-3\">Parameter name sent to GA4<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-hover\">\n<tr class=\"row-2 even\">\n\t<td class=\"column-1\">When a Contact is created <\/td><td class=\"column-2\">hubspot_contact_created<\/td><td class=\"column-3\">n\/a<\/td>\n<\/tr>\n<tr class=\"row-3 odd\">\n\t<td class=\"column-1\">When a Deal is created<\/td><td class=\"column-2\">hubspot_deal_created<\/td><td class=\"column-3\">n\/a<\/td>\n<\/tr>\n<tr class=\"row-4 even\">\n\t<td class=\"column-1\">When a Deal's Amount is updated<\/td><td class=\"column-2\">hubspot_deal_amount_updated<br \/>\n<em style=\"font-size:13px;\">(sends the amount value to GA4)<\/em><\/td><td class=\"column-3\">hubspot_deal_amount<\/td>\n<\/tr>\n<tr class=\"row-5 odd\">\n\t<td class=\"column-1\">When a Deal's stage is updated<\/td><td class=\"column-2\">hubspot_deal_stage_updated<br \/>\n<em style=\"font-size:13px;\">(sends the stage value to GA4)<\/em><\/td><td class=\"column-3\">hubspot_deal_stage<\/td>\n<\/tr>\n<tr class=\"row-6 even\">\n\t<td class=\"column-1\">When a Deal is closed won<\/td><td class=\"column-2\">hubspot_deal_closed_won<br \/>\n<em style=\"font-size:13px;\">(sends the amount value to GA4)<\/em><\/td><td class=\"column-3\">hubspot_deal_closed_won_amount<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-15 from cache --><br \/>\n<img decoding=\"async\" class=\"alignnone wp-image-3481\" src=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/ga4-events-230x300.jpg\" alt=\"HubSpot to GA4 events \" width=\"300\" height=\"392\" srcset=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/ga4-events-230x300.jpg 230w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/ga4-events-46x60.jpg 46w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/ga4-events-115x150.jpg 115w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2025\/04\/ga4-events.jpg 406w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<\/ol>\n<h2>Uninstall \/ Disconnect:<\/h2>\n<p>To uninstall \/ disconnect GA Connector from your HubSpot account, follow the instructions in <a href=\"https:\/\/knowledge.hubspot.com\/integrations\/connect-apps-to-hubspot#uninstall-an-app\" target=\"_blank\" rel=\"noopener\">this HubSpot Knowledge Base article<\/a>.<\/p>\n<p><strong>Uninstalling GA Connector will:<\/strong><\/p>\n<ul>\n<li>Remove any OAuth tokens stored on GA Connector and prevent any further synchronization between HubSpot and your Google Analytics account.<\/li>\n<\/ul>\n<p><strong>Note:<\/strong> Uninstalling GA Connector in HubSpot does not remove the GA Connector properties in the Contact object. This is to make sure that the Google Analytics data on your existing Contacts is not lost.<\/p>\n<p>Once you have backed-up the data you want and you no longer need the properties, you can manually delete them by going to <strong>Settings &gt; Properties<\/strong>.<\/p>\n<p><strong>Note:<\/strong> If you still have an active GA Connector subscription, uninstalling GA Connector in HubSpot also does not stop Google Analytics information syncing into new Contacts in HubSpot. In order to turn this off, you will need to remove the GA Connector script on your website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GA Connector integrates Google Analytics data with HubSpot contacts and sends to Google Analytics stats from your HubSpot deals, enabling users to: Identify the source, medium and other Google Analytics information of your Contacts, helping you understand where your leads come from. Import stats on closed deals and key datapoints to Google Analytics as events [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56,32,16],"tags":[],"_links":{"self":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3429"}],"collection":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/comments?post=3429"}],"version-history":[{"count":87,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3429\/revisions"}],"predecessor-version":[{"id":3644,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3429\/revisions\/3644"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/media?parent=3429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/categories?post=3429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/tags?post=3429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}