Overcome GA4 limit for 10 metrics in a single report
Google Analytics 4 (GA4) is a powerful tool for tracking and analyzing website and app data, but it comes with some limitations, one of which is the restriction of including only 10 metrics in a single report. For those who need to analyze more metrics simultaneously, there's a practical workaround that involves using multiple sources and joining them effectively. Here's a step-by-step guide on how to do it.
Step 1: Add Your First Source with Dimensions and the First 10 Metrics
Start by setting up your initial data source. This source should include the dimensions you want to analyze, along with the first 10 metrics that are most critical for your report.
Step 2: Add a Second Source with the Same Dimensions and the Next Set of Metrics
Next, create a second data source that includes the same dimensions but focuses on the next set of metrics. This could be up to 10 additional metrics, depending on your needs. The key is to ensure that the dimensions are identical between the first and second sources, as this will be crucial for the joining process.
👀You can simply duplicate first source and change metrics only to be sure that settings are same.
Add more sources using same approach if you need more metrics.
Step 3: Define the Source with More Available Data
Choose the data source that has more comprehensive or critical information to be your primary source. This will be the source that will lead in the joining process. You can do this by import source data into your destination (e.g. Google Sheets).
Step 4: Edit the Importer and Open the Transformation Step
Once your sources are set up and you defined your primary source, access the settings of the importer and navigate to the Transformation step. This is where you'll define how the data from your multiple sources will be combined. Click "Add transformation":
Step 5: Add a Join to Combine the Sources
In the Transformation step, select to Create Join.
This will allow you to merge the two data sources into a single dataset. Select the primary source (the one with more data) as your LEFT source in the join operation. This ensures that all records from this source will be retained in the final dataset, even if they don't have corresponding matches in the second source.
Step 6: Select All Dimensions as Join Keys
To accurately merge the data, select all the dimensions that are common across both sources as the join keys. This ensures that the data aligns correctly across both sets of metrics:
- Add join by "Property Id" if you have several properties selected.
- Add "Date" to join metrics properly by date.
- Add dimension Id (e.g. Country Id) based on what dimension you selected in the settings
(Note: we suggest to use IDs if possible instead of Names for data accuracy, as names can be same, but IDs are unique).
Step 7: Run the Importer and Review the Results
After setting up the join, run the importer to combine the data. Once the process is complete, review the results to ensure that all the metrics have been correctly imported and aligned. You should now see a report that includes all metrics from sources you defined, providing a more comprehensive view of your data.
Potential fragility of the solution
While this solution effectively circumvents the GA4 limit on metrics, it does come with certain risks.
Main concern is the potential for data discrepancies or inaccuracies during the joining process. It may be due to next things:
- If primary source selected has less data than second source - it may lead to missed data from second source.
- If there are differences in selected dimensions - it may lead to extra data available for one of the source and differences in calculations.
- If the dimensions used as join keys are not perfectly aligned- it may lead to some rows not joined.
- If you selected not all dimensions on JOIN - it may lead to invalid joining and wrong final result.