close this to read article
You can use any tag Manager solution to integrate VWO test data with your Universal Analytics (UA) tool. If you use different tag manager tools, follow the below procedure.
Procedure
- Login to your VWO account.
- Set up a test using the TESTING feature of VWO.
- On the OTHERS page, expand the Integrate with third-party products section, and select the Universal Analytics option.
- In the Custom Dimension field, enter the custom dimension name to which you are pushing the data.
- In the Account Prefix field, enter the relevant UA account prefix.
- To allow VWO to start pushing your test data to the analytics account, click Save.
Finding Your Account Prefix
The account prefix typcially identifies the account where you want to push your VWO test data.
NOTE: You should run one campaign at a time so that there is no data discrepancy. Otherwise, campaign data from multiple campaigns would flow into the same custom dimension.
Procedure
- Go to your website.
- Right-click on the page and click Inspect.
- Go to the Console tab, and type the below code snippet in the console.
ga.getAll().forEach (function(e) {
if(e.get('trackingId')=='<your_UA_ID>')
{ console.log(window.finalprefix=e.get('name'));};});NOTE: Replace <your_UA_ID> with the actual UA tracker ID to which you are pushing the data. - Once done, your Account Prefix appears in the console.