How do you integrate Google Analytics with Marketo?
How do I link Google Analytics with Marketo?
What are the Requirements?
What is needed in Marketo?
Go to Admin. Create a new custom field in Marketo and label it GAMETE; Short for Google Analytics Marketo End to End. Make sure the type is Text Area.
Create a Marketo form. Add a new field and select GAMETE from the dropdown list.
Change the Field Type to Hidden. Change Autofill section, Get Value from, to Cookie Value.
Make sure parameter name is exactly _gid
What is needed in Google Tag Manager?
Create a new Tag. Embed the script from Keith Shaw and MIT. Create a new Trigger or use, the default, All Pages.
Create a new Trigger. Event name – mkto.form.submit
Create a new Trigger. Event name – mkto.form.values.gAMETE
This tells GTM to read the data layer value for event – mkto.form.values.gAMETE
Create a new Tag with Google Analytics type. Select Track Type as Event. Write in your Category and Action.
Select your Data Layer Variable created for this guide
Select your Universal Analytics identifier
Select your Marketo Trigger for form submissions
What is reported in Google Analytics?
When field _gid is populated appropriately a GUID, global unique identification, is created by Google Analytics.
What is reported in Marketo?
How do you troubleshoot the integration?
Enter preview mode with Google Tag Manager in Google Chrome. Then navigate to your webpage with the Marketo form created for this guide.
Right click and select Inspect. Navigate to the Network tab. Click the checkbox for Offline.
Now that you are emulating an offline environment, complete your Marketo form and submit your form. Navigate to mkto.form.submit and view the Data Layer tab. Review your results; gAMETE should be populated.
How do you improve the integration?
What is a successful Marketo integration?
What is the trajectory of your business?