Create a custom dimension in GA4
Posted: Sun Dec 22, 2024 6:09 am
Now that the form tracking setup is done in GTM, you should start to see data pulling into GA4. You can check this in the ‘Events’ section of your GA4 property, via the Admin settings. This is also the place to mark your events as ‘Conversions’, which you’ll likely want to do for form submissions.
However, because we have set up custom events that number phone cambodia measure non-standard Dimensions, we need to create these, too. In case you’re new to GA4 terminology, ‘Dimensions’ means the attributes or characteristics we want to track. In this case, we want to track individual forms, not just a single event for all forms and non-standard Dimensions is how we do this.
So, head to Google Analytics and select your GA4 account. Now go to Admin > Custom definitions > Create custom dimensions. Enter the following details in the fields provided:
Dimension name = Form Name
Scope = Event
Description = Pardot form name
Event parameter = form_name
It should look like this:
Screenshot of GA4 Custom Dimension
Hit ‘Save’. Event details will now begin to populate on the ‘Realtime’ events tab under ‘Reports’, as you receive form submissions. You can test this by submitting forms in a separate tab and viewing the Realtime tab, or by navigating to ‘Admin’ and ‘DebugView’.
NB: Remember that if you have excluded your IP from GA4 tracking, your activity will not show in the Realtime section!
If you would like to see parameters for all events historically, you will need to create a custom exploration and don’t worry, I’m going to show you how to do that too.
Step 6: Create a custom exploration in GA4
In GA4, head to the ‘Explore’ tab on the left-hand menu.
Click on ‘+Blank’ to start a new exploration.
On the ‘Variables’ tab, click the ‘+’ symbol to add the following details by ‘Import’:
Screenshot of GA4 variables
Screenshot of Variables details in GA4
On the ‘Settings’ tab, enter the following highlighted rows and values:
Screenshot of Settings Tab in GA4
The report should look a little something like this:
Exploration report in GA4
Your exploration report will autosave, so you can jump into it at any time.
Congrats! You have now successfully set up Pardot form tracking in Google Analytics (GA4), using Google Tag Manager. We appreciate this guide is pretty technical and may be overwhelming at first (code = scary for many!) but with a bit of practice, any marketer can pick it up.
If you do get stuck when setting up your form tracking in Google Analytics, or with any other aspect of Pardot or Marketing Cloud, send a message to the MarCloud team and we’ll do our best to help get it sorted.
However, because we have set up custom events that number phone cambodia measure non-standard Dimensions, we need to create these, too. In case you’re new to GA4 terminology, ‘Dimensions’ means the attributes or characteristics we want to track. In this case, we want to track individual forms, not just a single event for all forms and non-standard Dimensions is how we do this.
So, head to Google Analytics and select your GA4 account. Now go to Admin > Custom definitions > Create custom dimensions. Enter the following details in the fields provided:
Dimension name = Form Name
Scope = Event
Description = Pardot form name
Event parameter = form_name
It should look like this:
Screenshot of GA4 Custom Dimension
Hit ‘Save’. Event details will now begin to populate on the ‘Realtime’ events tab under ‘Reports’, as you receive form submissions. You can test this by submitting forms in a separate tab and viewing the Realtime tab, or by navigating to ‘Admin’ and ‘DebugView’.
NB: Remember that if you have excluded your IP from GA4 tracking, your activity will not show in the Realtime section!
If you would like to see parameters for all events historically, you will need to create a custom exploration and don’t worry, I’m going to show you how to do that too.
Step 6: Create a custom exploration in GA4
In GA4, head to the ‘Explore’ tab on the left-hand menu.
Click on ‘+Blank’ to start a new exploration.
On the ‘Variables’ tab, click the ‘+’ symbol to add the following details by ‘Import’:
Screenshot of GA4 variables
Screenshot of Variables details in GA4
On the ‘Settings’ tab, enter the following highlighted rows and values:
Screenshot of Settings Tab in GA4
The report should look a little something like this:
Exploration report in GA4
Your exploration report will autosave, so you can jump into it at any time.
Congrats! You have now successfully set up Pardot form tracking in Google Analytics (GA4), using Google Tag Manager. We appreciate this guide is pretty technical and may be overwhelming at first (code = scary for many!) but with a bit of practice, any marketer can pick it up.
If you do get stuck when setting up your form tracking in Google Analytics, or with any other aspect of Pardot or Marketing Cloud, send a message to the MarCloud team and we’ll do our best to help get it sorted.