Sales Integrations

zig
Member

Enrich Contacts with Google Analytics Data

SOLVE

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

0 Upvotes
1 Accepted solution
DavidChaves
Solution
HubSpot Customer Trainer
HubSpot Customer Trainer

Enrich Contacts with Google Analytics Data

SOLVE

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!

View solution in original post

0 Upvotes
1 Reply 1
DavidChaves
Solution
HubSpot Customer Trainer
HubSpot Customer Trainer

Enrich Contacts with Google Analytics Data

SOLVE

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!
0 Upvotes