Google is officially sunsetting Universal Analytics on July 1, 2023
- . Google Analytics 4 is the recommended replacement. Due to the differences in tracking logic used in Universal Analytics vs Google Analytics 4, historical data will not transfer from one to the other.
- Because of this, it's important to get Google Analytics 4 set up as soon as possible in order to start accumulating data in this new system.
With the Metric Builder for Google Universal Analytics, you can create Custom Google Universal Analytics Metrics using a combination of Metrics, Dimensions, Segments, and Filters.
Some popular use cases for the Metric Builder for Google Universal Analytics include creating content-specific Metrics, reporting on custom Goal Conversions, etc.
HOW TO
- Access Custom Metrics and Metric Builder for Google Universal Analytics
- Use the Metric Builder for Google Universal Analytics
- Create a Custom Google Universal Analytics Metric [Example]
- Add a Custom Google Universal Analytics Metric to a Databoard
- Additional Information
How to access Custom Metrics and Metric Builder for Google Universal Analytics
Navigate to Metrics > Custom Metrics to access the Metric Builder. Click the green + New Custom Metric button and select your connected Google Universal Analytics Account from the Data Source drop-down list.
Metric Builder is available on the Professional and higher plans. Request a trial of Metric Builder by following these steps.
How to use the Metric Builder for Google Universal Analytics
Pro Tip: Add the word "by" in between the Metric and Dimension in order to determine an appropriate Custom Metric Name. From the Metric and Dimension examples outlined above, we could create the Custom Metrics "Sessions by Default Channel Grouping," "Pageviews by Page," or "Pages / Session by Device Category."
Most tables in Google Universal Analytics organize Dimensions into rows and Metrics into columns. In order to replicate the Google Universal Analytics table below in Databox, you would need to create 6 Custom Metrics: "Users by User Type," "New Users by User Type," "Sessions by User Type," "Bounce Rate by User Type," "Pages / Session by User Type," and "Avg Session Duration by User Type."
D) Invert Metric (Optional): By default, the percentage change value displayed on Datablocks is green when the Metric value has increased, and red when the Metric value has decreased. If the Custom Metric you created has opposite trends, select this option. Learn more here.Learn more about creating Segments in Google Universal Analytics here.
Learn more about the significance of the Metric Sort Order here.
Pro Tip: If you don't know which Filters to put in place for your use case, use the Dimension + Data Preview to troubleshoot and get more insight into the data that is returned from your Google Universal Analytics Account for each field. Learn more here .
How to create a Custom Google Universal Analytics Metric [Example]
In this example, we'll create a Custom Metric to report on New Users tracked in the Google Universal Analytics Account split up based on the Country where the User accessed the website. We only want to view this data for New Users that found the website through Organic Search.
- Navigate to Metrics > Custom Metrics
- Click the green + New Custom Metric button
- Select the appropriate Google Universal Analytics Data Source
- Select New Users from the Metric drop-down list
- Next, we'll select Country from the Dimensions drop-down list so that the New Users values returned are split up based on the Country where the site was accessed.
- Organic Traffic is a standard Segment in every Google Universal Analytics Account, so we will select this from the Segment drop-down list to focus on the Organic subset of New Users.
- Since New Users is a Metric where higher values indicate success, we don't need to select a Metric Sort Order and can rely on the default setting, which is Descending.
- We don't need to further filter the data, so we will leave the Filter section blank as well.
- In order to accurately explain what this Custom Metric is reporting on, we'll name the Custom Metric "New Organic Users by Country"
- Click Preview Data to generate a Data Preview of the Custom Metric.
- Once we confirm that these are the results we're looking for, we'll click Save to save the Custom Metric.
How to add a Custom Google Universal Analytics Metric to a Databoard
- Open the selected Databoard in the Databox Designer, or create a new Databoard.
- Drag and drop a blank Datablock onto the Databoard from the Visualization Library.
- Select the appropriate Google Universal Analytics Data Source in the right-hand Property Manager. This must be the same Google Universal Analytics Account that was selected when creating the Custom Metric.
- Select the Custom tab at the top of the Metric drop-down list.
- Select the Custom Metric name to populate the Datablock.
Additional Information
- The Data Preview is limited to display a maximum of 20 Dimensions per Date Range for Dimensional Metrics. Dimensions will be sorted by descending value, therefore the 20 Dimensions with the highest total values will be displayed in the Data Preview for each Date Range.
- (not set) is a placeholder name that Google Universal Analytics uses when it hasn't received any information for the Dimension you have selected.
For Campaigns that are syncing with Google Universal Analytics through an external integration with Google Ads, Google Search Console, etc., Google's API displays (not-set). For Google Universal Analytics Campaigns, the actual name of the Campaign is displayed.
Learn more about the (not set) behavior in Google here.
To clean up your reports in Databox, you can exclude or rename the (not set) Dimension for Custom Metrics by following these steps.
- When a Metric contains "Age", "Gender", or "Interest Category" as a Dimension or Segment, a threshold may be applied in Google Universal Analytics and some data may be withheld from the report.
This happens when your website has low traffic and, as a result, thresholds are applied to your report by Google Universal Analytics to prevent anyone viewing a report from inferring the demographics or interests of individual users.
This is a limitation on the Google Universal Analytics side and there is no solution to overcome this in Databox.
In Google Universal Analytics, when a threshold is applied to a report a yellow icon is displayed at the top of the report, along with a notice below the report title. If no threshold is applied, a green icon is displayed.