Hola! ¡Tenemos nuestra Comunidad en Español!

Enrich Contacts with Google Analytics Data

SOLVE
Highlighted
zig
New Contributor

I would like to enrich CRM contacts on every new contact creation with data from Google Analytics

Example: on new contact signup, utm_campaign and utm_source will be imported from GA into contact' custom field in HubSpot.

Due to previouse implemntation new contacts are signuping on non HubSpot form, the data is transfered via zappier

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
HubSpot Employee

I would like to enrich CRM contacts on every new contact creation with data from Google Analytics. Example: on new contact signup, utm_campaign and utm_source will be imported from GA into contact' custom field in HubSpot. Due to previouse implemntation new contacts are signuping on non HubSpot form, the data is transfered via zappier.

 

Hi @zig,

 

The current solution that you have in place is the easiest way to implement this:
- Have custom properties in HubSpot that hold the GA data
- Update those properties using an integration to add the data to the properties
 
One other solution to this problem is to use the 'Auto-populate form fields with a query string' functionality in HubSpot. This allows you to pass UTM parameters from Google Ads URLs for example to hidden fields on a HubSpot form so you can see where a lead came from or what campaign it was associated with, etc.
 
Steps to set this up:
- Replace the form with a HubSpot form
- Create custom properties to hold the Google Analytics UTM data
- Add the properties as hidden fields on the form
- Create static query strings with pre-defined values that will link to the internal names of the hidden custom properties - steps linked here
 
Once the contact submits the form the UTM data from the query string that was created gets passed through the hidden fields and gets stored on the contact record.
 
We hope this helps!
Reply
0 Upvotes
1 Reply
HubSpot Employee

I would like to enrich CRM contacts on every new contact creation with data from Google Analytics. Example: on new contact signup, utm_campaign and utm_source will be imported from GA into contact' custom field in HubSpot. Due to previouse implemntation new contacts are signuping on non HubSpot form, the data is transfered via zappier.

 

Hi @zig,

 

The current solution that you have in place is the easiest way to implement this:
- Have custom properties in HubSpot that hold the GA data
- Update those properties using an integration to add the data to the properties
 
One other solution to this problem is to use the 'Auto-populate form fields with a query string' functionality in HubSpot. This allows you to pass UTM parameters from Google Ads URLs for example to hidden fields on a HubSpot form so you can see where a lead came from or what campaign it was associated with, etc.
 
Steps to set this up:
- Replace the form with a HubSpot form
- Create custom properties to hold the Google Analytics UTM data
- Add the properties as hidden fields on the form
- Create static query strings with pre-defined values that will link to the internal names of the hidden custom properties - steps linked here
 
Once the contact submits the form the UTM data from the query string that was created gets passed through the hidden fields and gets stored on the contact record.
 
We hope this helps!
Reply
0 Upvotes