Analyze Test Data In Google Analytics
Last updated
Was this helpful?
Last updated
Was this helpful?
There are two primary methods of viewing Shoplift test audience data in GA4:
In the Audiences view, where you can see high level information about each test audience
In a custom Exploration, where you can create a User segment that includes visitors who have an event-scoped Experience - variant ID dimension
attached.
To view your Shoplift audiences in Google Analytics, select Admin from the left sidebar navigation. Then, under the Data display card, click Audiences.
From the Audiences view, you'll see a list of your Google Analytics audiences, including any audience that Shoplift has created. These audiences will include a description of "Auto-generated audience for a Shoplift test," and for each test you are running, you'll see two audiences - one for the control, and one for the variant.
You can click into these audiences to view the audience data and settings as with any other GA4 audience, to see total users, device category breakouts, and more.
If you want to see more detailed information about your Shoplift audiences, including custom dimension and metric breakouts, you'll need to create a custom exploration. Explorations have a lot of features, so for the purposes of this guide, we'll just focus on how you can create a new User segment from your Shoplift test audiences.
In GA, click Explore from the left sidebar navigation, and then click the card to create a new exploration.
In the Variables pane on the left, click the '+' button next to Segments.
In the window that opens, click Create a new segment in the top right. Then click User segment to create a new user segment and define specific inclusion rules.
Click the Add new condition button and search Experience - variant ID (it will appear as an event-scoped dimension). Select it from the dropdown.
From here, you can filter this segment with the correct string for your test and variant. The string will be include the specific Test ID and Variant ID for your test. For example, it might look like:
SL-c94065fb-44dc-40a7-8fb2-b1e05b6916ff-48e8e607-a3b8-4fa0-993e-de193c85d11e
To find your Test ID, open up your test report in Shoplift, and copy the the unique ID from the URL. It will be 36 character ID, including hyphens. To find the ID for a specific variant, scroll to the Test variants section of the report. Next to the Original or the Variant you will see an informational tooltip (i). Hover over the tooltip to reveal the ID, and click the small copy icon to copy the ID to your clipboard.
Using these IDs, find the correct string in GA within the dropdown. Hit Apply, and you will see your audience summary update to reflect the quantity of users included in this segment.
Name your segment (we recommend a name similar to the audiences we create, like "Shoplift Test - Test Name - Variant Name" and click Apply in the top right. Your segment will be added to your Exploration, and from here you can view any number of Metrics or Dimensions for that user segment.
Please note that because pausing audiences in Google Analytics is not possible, the Shoplift integration with Google Analytics does not currently support paused tests. This means that if a test is paused, events from tested visitors will continue to send to Google Analytics.
If a test is paused, and you want to analyze the audience or user segment data in GA4, we recommend setting your date range to the period of time before or after the test was paused or resumed, but not spanning the paused period of time.
By default, Shoplift sets audience durations to the maximum of 540 days. While it's unlikely to run a test for this long, this limit means that after this period of time new data will stop sending for these audiences.
If needed, you can adjust the duration manually from the Audience settings in Google Analytics.
If you'd like to disable the integration for any reason, you can click the toggle off to stop creating audiences and sending events to GA4. To reenable the integration, simply click the toggle again.
If you'd like to disconnect the integration entirely, you can click the Actions button next to the toggle, and select Disconnect. This will completely disconnect your Google account from Shoplift, and if you want to reenable the integration in the future, you will need to reauthorize your account.