Convert Pro offers seamless integration with Google Analytics. Therefore, if you have already added the Google Analytics code to your website, your Convert Pro events will automatically be tracked by Google Analytics.
But, if you are using Google Tag Manager, then you need to make following changes to track Convert Pro events in Google Analytics.
- Login to your Google Tag Manager Account
- Create New Custom Variables for Convert Pro Google Analytics Events
- Create Generic Event Tag & CONVERTPRO Trigger
- Enable Google Tag Manager Support in Convert Pro WordPress Dashboard
- Verify the Convert Pro events in Google Analytics
2. Create New Custom Variables for Convert Pro Google Analytics Events
We begin by creating the first Data Layer Variable – Event Action as shown below.
Step 1 – Click on Variables
Step 2 – Click on New Button under User-Defined Variables
Step 3 – Name the variable as Event Action
Step 5 – Click on the Variable Configuration box and select variable type as Data Layer Variable
Step 5 – Set Data Layer Variable Name as eventAction
Step 6 – Select the Data Layer Version. We recommend you to use Version 2 here.
Step 7 – Save the Variable
Repeat the same process and create 4 more Data Layer Variables as listed below.
Variable Name: Event Category
Data Layer Variable Name: eventCategory
Variable Name: Event Label
Data Layer Variable Name: eventLabel
Variable Name: Event Value
Data Layer Variable Name: eventValue
Variable Name: Non Interaction
Data Layer Variable Name: nonInteraction
Once all the 5 variables are created, it should look as shown below.
3. Create Generic Event Tag & CONVERTPRO Trigger
With the 5 new variables, you are ready to create your new event tracking tag. Follow the steps mentioned below to create new Generic Event tag and CONVERTPRO trigger to track events.
You can also follow the steps written below.
Create New Generic Event Tag
Step 1 – Click on Add a New Tag.
Step 2 – Name the Tag as Generic Event.
Step 3 – Select Tag Type as Universal Analytics.
Step 4 – Select Track Type as Event.
Step 5 – Select Category as }
Step 6 – Select Action as }
Step 7 – Select Label as }
Step 8 – Select Value as }
Step 9 – Select Non-Interaction Hit as }
Step 10 – Select Google Analytics Settings and choose Google Analytics Custom Variable Or else, enable the overriding settings in this tag option and add the Tracking ID
To set IP anonymization,
- Expand “More settings” (if you don’t see it check Enable overriding settings in this tag)
- Expand “Fields to set“
- Click on Add a field and configure it like this:
- Field name: anonymizeIp
- Value: true
- Save and publish the changes.
Create CONVERTPRO Trigger
Step 11 – Click on Trigger
Step 12 – Click on Plus(+) sign seen on the upper right corner of the screen
Step 13 – Name the trigger as CONVERTPRO
Step 14 – Select trigger type as Custom Event
Step 15 – Set Event name as CONVERTPRO
Step 16 – Save the Trigger
Step 17 – Save the Tag
Step 18 – Publish the Tag.
4. Enable Google Tag Manager Support in Convert Pro WordPress Dashboard
Open Convert Pro dashboard by login into your website.
Step 1 – Click on Settings in Convert Pro Dashboard.
Step 2 – Click on Addons.
Step 3 – Select Analytics Addon – Install and Activate it.
Step 4 – Click on Analytics.
Step 5 – Select Authorization Type as Already Added Google Tag Manager Code.
Step 6 – Save the Settings.
We have an article where you can read more about Convert Pro’s integration with Google Analytics
4. Verify the Convert Pro events in Google Analytics
After all the settings are done, fill the dummy data in your current pop-ups and submit them to see the event in Google Analytics. You can see the events under REAL-TIME tab in google analytics.
You have successfully configured Convert Pro events in Google Tag Manager.
In order to enable the anonymize IP option for Google Analytics using Google Tag Manager, you will need to specify the following for every tag you add.
You need to add a new field under More Settings and set the value as true. Please refer to the screenshot below.