Context
You can measure the health of your Demandbase Google Analytics 4 (GA4) integration using a custom report created within the GA 4 property. The custom report compares the number of page view events received to the number of Demandbase Events received in GA4.
Prerequisite/Preparation
You must have Google Analytics Admin permissions.
Steps
- In GA4, from the left navigation bar, click Explore.
- Create a blank exploration.
- Enter the following:
- Exploration Name: Enter a name for the custom report. For example, Demandbase Health Check.
- Custom: Select the date range starting with the day after you enabled the Demandbase GA4 integration and ending with the latest available date.
- Dimensions: Page path + query string, Hostname, and Event name.
- Metrics: Event count.
- Enter the following:
- Rows: Page path + query string and Hostname.
- Columns: Event name.
- Values: Event count.
- Filters:
a. Dimension: Event name.
b. Filter: matches regex.
c. Filter expression: page_view|Demandbase_Event.
Important: Make sure you use the name of the custom event you created previously.
Next Steps
See the following report example with the page path and number of events specific to the GA4 property.
To use the custom report, compare the number of page view events to the number of Demandbase events in GA4. Since the Demandbase event was set up to fire on each page view, the difference allows you to calculate the percentage of page views where no Demandbase data was collected.
From the example report, we calculated the percentage of page views where no Demandbase data was collected:
((15,960 - 15,072) / 15,960) x 100 = 5.56%
To make the same calculation for your GA4 report, do the following:
- Replace 15,960 with the total page view event count.
- Replace 15,072 with the total Demandbase event count.
A percentage below 20% indicates the integration was set up successfully. If the percentage is above 20%, reach out to your Demandbase Account team for assistance.