The Google Analytics (GA) integration enables you to drill through your Google Analytics data to see your users' actual experience. In this article, you'll find a guide on setting up the two features available with this Google Analytics integration.
Note: This integration does not support implementations of Google Analytics through Google Tag Manager (GTM) and other tag managers. If GA is being added through GTM, the integration will not work. Google Analytics must be added to your website code directly, not through a tag manager, in order to benefit from this integration.
Requirements before you start using the integration
Before getting started, be aware of the following:
- An existing Google Analytics setup is required. See Google's Get started with Analytics article for help with this.
- If GA is being added through Google Tag Manager, the integration will not work. Google Analytics must be added to your website code directly, not through a tag manager, in order to benefit from this integration.
- Google Analytics Goals are not supported - they featured in Universal Analytics, which was retired on July 1st, 2023.
- This integration only works when events are created in GA. If events are created in GTM or elsewhere and passed to GA, these events will not be detected.
Creating Events from Google Analytics Events
1. Click 'Connect for Google Analytics' in the Integrations page.
2. Turn on 'Automatically create events'.
Google Analytics Events will start to be captured and attached to session data used in replays and Heatmaps. You may need to allow some time to pass before captured Google Analytics Events appear in the Events filter.
3. Use GA events to filter session data and target Surveys.
How to use Google Analytics events in segmentation
You can use the 'Add filter' option in your platform capabilities to apply Google Analytics events, for example Session Replay.
Follow these steps to use Google Analytics events in Session Replay:
1. Click on 'Add filter'
2. Select 'Google Analytics'.
A window will appear, allowing you to select your Google Analytics events.
Targeting Surveys using Google Analytics Events
1. From the Targeting Settings of your Survey setup, select ‘Specific Pages’.
2. Choose Event from the dropdown menu.
3. Enter GA_ followed by the Google Analytics Event name as the value for the Event targeting field.
4. Click 'Done' and Activate the Survey.