To send test data from AB Tasty to Google Analytics, go to Third-party integration in the settings. You must then enter a Custom Dimension (same idea for Universal Analytics):
If you have several Google Analytics accounts (UA), you must tick the “tracker name” box in the third-party tools window in order to enter the tracker name that matches the account in which you want to see your data.
How is AB Tasty data shown?
AB Tasty’s data is displayed in Google Analytics in two ways: via events or custom dimensions.
When you link AB Tasty and Google Analytics in third-party tools, AB Tasty sends an event to Google Analytics with the following naming template:
- Category: AB Tasty
- Action: [Test ID] Test name
- Label: [Variant ID] Variant name
1)You can add it as a second dimension in existing reports
If you want to compare the two versions, simply cross “event label” as a second dimension. If needed, you can make a filter (in the top right) to show a specific variant.
2) You can create a custom report
Configuring a custom report
Here, we have crossed the event with page views, but you can choose the metrics you need.
3) You can add a segment
A segment allows you to compare the two versions of your test with all data in your Google Analytics interface:
Configuring the segment
Comparing the data directly in Google Analytics reports
When you link your tools, you assign a custom dimension ID to your test.
Note: You must create the custom dimension in Google Analytics before adding it to AB Tasty. The index that you will need to fill in will be assigned by Google Analytics.
You must enter the following items:
The name (usually “AB Tasty” but you’re free to choose another if you like)
The scope (usually “user”), as tests apply to users. This determines which field of application will be assigned to your variable.
There are 4: product, hit, session, and user.
- Product: the value is applied to the product for which it was defined.
- Hit: the value is applied to the specific call for which it was defined.
- Session: the value is applied to all of the calls in a single session.
- User: the value is applied to all calls in the current and future sessions, until changes in value or custom dimensions are deactivated.
The value of this custom dimension is constructed as follows:
[Test ID] Test name - [Variant ID] Variant name
You can then use it exactly like an event. Simply select the “AB Tasty” custom dimension (if that’s how you named it) instead of the event title.