Why doesn't the Google Analytics widget show any data?

There are multiple reasons why Google Analytics widgets in your reports may not show data. Go through the checklist below to see which of these may be affecting your reports

Google Analytics profile not linked to Google Ads account

Check: Load the Google Analytics instant report for your Google Ads account. If this report shows you data, it means the Google Ads account is linked to an Analytics profile.

Reason: Optmyzr links directly to the Google Analytics API to pull data into the reports. To facilitate this, you need to link your Google Analytics email to Optmyzr and then link the relevant Analytics profile to the Google Ads account associated with it. Even if your Analytics profile is linked to your account in Google Ads, you will have to complete this step. To link your Google Analytics account to Optmyzr follow the steps here

In some cases, Optmyzr may lose access to the Analytics email for the profile that was connected to the Google Ads account. To resolve this, you'll have to relink the Analytics email to Optmyzr on this page.

Data fields not compatible with each other

Check: Preview the Analytics widget in the report designer. If the widget gives an error, then the data fields are not compatible with each other. 

Reason: All the data fields in Google Analytics are not compatible with each other because of which they cannot be displayed together in the widget. If incompatible fields are selected in the widget, the widget will show an error. 

For example, Google Ads data like clicks, impressions are not compatible with Analytics data like User Type. To fix this error, don't add fields that are not compatible with each other in the same widget.

You can check the compatibility between data fields here.

Filters not compatible with statistics or metrics

Check: Preview the Analytics widget in the designer. If metric(s) show up as zero, it means the filter is not compatible with the selected statistics.

Reason: The filter that is selected is not supported with the statistic that is showing up as zero. This is an extension of the reason above but extends to the Filter option. 

For example, the cost statistic is not compatible with the paid search filter, so when you select cost, and the filter is set to paid search, the cost field will show up as zero. 

This is because the API doesn't return the data in this format. A workaround to this is that you can enable custom filters and only choose to see data for search traffic. 

You can check the compatibility between statistics and/or metrics here.

Custom filters not configured correctly

Check: Preview the Analytics widget in the report designer. If the widget comes up blank, it means the custom filter is not configured properly.

Reason: The custom filters in the Analytics widgets require the rule to be specified in the correct format. This means the field name should be correct and the field it is filtering on should also be correct. These fields are case sensitive. 

You can get the correct field name from the table by previewing the widget without the custom filter. This will show you the available data, and you can pick up the exact name to put in the custom filters. 

For example, in the screenshot below, the custom filter is set to filter for Bing data. In the custom filter, you'll see ga:source==bing. In this case, if you put 'Bing' with a capital B, it won't work. You can read about how to set up custom filters here.

Only certain dimensions and metrics can be used together

Check: If the metrics display data separately, but not together, it means the metrics are not creating a valid combination.

Reason: Not all dimensions allow Analytics to query associated cost data. If such dimensions are used within a Channel Grouping object (like Display), the cost data for the channel grouping can't be retrieved. For example, you cannot display Google Ads cost data with a paid search filter.

In the screenshot below, you can't display CPC and Display together. The option that you have is to separate the information in two widgets (one for CPC and one for Display). 

Data discrepancy on date ranges

Problem: When using a Google Analytics data table widget, I'm seeing different data for when I use "Month of the Year" segment and select the last month than when I use "Last Month".

Solution: This can happen when Sampling is enabled in your Google Analytics reports. For more clarity on how sampling works, you can refer to this and this.

Did this answer your question?