This page describes how to use Google Tag Assistant to inspect exceptions and to inspect the values of custom dimensions and metrics as they are sent to Google Analytics.
Install Google Tag Assistant Chrome extension
Open Google Tag Assistant in Chrome Web Store.
Click Add to Chrome.
Click Add extension.
Click the Google Tag Assistant icon
on the extension bar.
Select Google Analytics and click Done.
Check exceptions
If your web page sends an exception to Google Analytics, follow these steps to check the exception in Google Tag Assistant:
Open your web page in a Chrome browser.
Click the Google Tag Assistant icon
on the extension bar.
Click Enable.
Refresh your web page.
Click the Google Tag Assistant icon.
Click the property ID under Result of Tag Assistant.
Click Exceptions.
Click the Metadata tab to review the exception description, whether the exception is fatal, and the web page's title.
For example, if a web page titled Test exceptions sends the following exception to Google Analytics:
gtag('event', 'exception', {
'description': 'Division by zero',
'fatal': false
});
Google Tag Assistant shows the following:
Check custom dimensions and metrics
If your web page sends custom dimensions and metrics to Google Analytics, follow these steps to check their values in Google Tag Assistant:
Open your web page in a Chrome browser.
Click the Google Tag Assistant icon
on the extension bar.
Click Enable.
Refresh your web page.
Click the Google Tag Assistant icon.
Click the property ID under Result of Tag Assistant.
Click Events.
Click the Custom Metrics tab to review the values of the custom dimensions and metrics.
For example, if a web page sends the following custom dimension and metric to Google Analytics:
gtag('config', 'GA_MEASUREMENT_ID', {
'custom_map': {
'dimension1': 'age',
'metric1': 'avg_page_load_time'
}});
gtag('event', 'foo', {'age': 12, 'avg_page_load_time': 1});
Google Tag Assistant shows the following: