Integrating VWO with Google Analytics (GA) Classic allows you to view your website data in GA for each variation and also filter data based on the metrics defined in GA. Integrating Classic Google Analytics with VWO involves the following steps:
Enable GA Integration In VWO For a New Test
- Login to your VWO account.
- Using the TESTING feature of VWO, create a test in VWO.
- On the FINALIZE page of the test creation, expand the Integrate with third-party products section, and select Google Analytics.
- In the Slot field, enter the custom variable slot in Google Analytics that you want to use for VWO.
- In the Account Prefix field, enter the relevant UA account prefix.
Enable GA Integration in VWO for an existing test
- Login to your VWO account.
- Go to the relevant testing dashboard and choose the test you want to work with.
- On the SUMMARY page, go to the SETTINGS > OTHERS tab.
- Expand the Integrate with third-party products section and select Google Analytics.
- In the Slot field, enter the custom variable slot in Google Analytics that you want to use for VWO.
- In the Account Prefix field, enter the relevant UA account prefix.
- Slot: This is the custom variable slot in Google Analytics that you want to use for VWO.
NOTE:
1. The slot number you enter here must match the Key you select
in GA. By default, VWO uses GA key Slot 4 to push its variation
data. If required, you can change the slot value.
2. If you have multiple tests running simultaneously in the same
domain, you must use a different slot for each running test. - Account Prefix: If you are using more than one GA account, you can enter the Account Prefix you want to integrate with VWO. Please leave the field empty if you are using a single account.
Create Custom Reports
Custom Variable slots are used to pass visitor information. VWO-GA integration uses custom variable slots to send information related to the tests, variations that your visitors access.
- Log in to your GA account.
- Go to the Reporting tab.
The Users Overview page appears. - To create a custom report for the VWO test you integrated with GA, select +Add Segment.
- Click New Segment.
UI to configure your segment appears - To configure the segment conditions, click Conditions.
- From the Add Content dropdown, select Custom Variable (Key XX).
NOTE: The Key number you select must match the Slot number you
entered in VWO. - Enter the test ID of the test you want to view reports for.
- To view reports of the entire test, click Preview.
- To view specific reports of control or variation, click the AND condition and then select Custom Variable (Value XX). Make sure that the Value number matches the Key selected and the slot number you entered in VWO.
- To view the report of a specific variation, select the report and click Preview.