Talk to a sales representative

+1 844-822-8378
or

Write to us

Integrating VWO with Google Universal Analytics (UA)

Thursday, June 11, 2015

Integrating Visual Website Optimizer (VWO) with Google Universal Analytics (UA) allows you to view and analyze VWO campaign data along with the traffic data that UA collects from your website. If you use UA to monitor your website traffic, this integration allows you to view VWO’s data in UA for each variation and also filter data based on the metrics defined in UA.

Attention!

If the Universal Analytics code on your website is installed via Google Tag Manager, you need to set up the integration as explained in this article.

Create a UA Custom Dimension for VWO campaigns

To configure the integration, you must first create a UA custom dimension. You will create the custom dimension for your VWO campaign using GA dashboard and specify a name for the dimension.

  • Click Admin from the menu bar and select the appropriate account and a property.
  • Under Property, click Custom Definitions, and then Custom Dimensions.
  • Click New Custom Dimension
  •  

  • In the New Custom Dimension window, add the following details:
    • Name: Enter a unique name for the dimension to avoid any confusions with other dimensions you may have created. Please note that you must create a separate dimension for each running campaign you want to integrate with UA. The dimension you create is used to identify and push VWO data into the corresponding dimension in UA. For example, VWO Test Id 1.
    • Scope: Select the User option from the drop-down. Scope determines which hits will be associated with the custom dimension value. Click here to know more about scope.
    • Active: Enable this box to start collecting data and see the dimension in your reports right away.
  • Click Create. You have now created the custom dimensions in UA.

Enable the UA integration option in VWO dashboard

While enabling the integration option, VWO will prompt you for the custom dimension number.  Here you must specify the index number that UA generated for the dimension. Refer to the following screenshot to locate the custom dimension number for a VWO campaign.

To enable the integration option in VWO, follow these steps:

  1. From the navigation bar, select the campaign you want to create.
  2. Select Settings > Others in the campaign settings section.
  3. Under Integrate with Third-Party Products, select the Universal Analytics option.
  • Custom Dimensions: Select the custom dimension you have defined for VWO in your UA implementation.
  • Attention!

    If you have multiple campaigns running simultaneously on the same domain, you must use a different custom dimension ID for each running campaign.

  • Account Prefix: If you are using more than one UA account, you can enter Account Prefix you want integrate with VWO. Please leave the field empty if you are using a single account.
  • Attention!

    Please note that Account prefix is not the same as your UA profile ID. Account prefix indicates the UA account where you want to push test data of a campaign. UA dimension is unique for each running campaign. Please ensure there is no duplicate in the custom dimensions you used.

Create a custom report

  1. Log into your UA account and click Reporting tab. The User Overview page displays.
  2. Select Add Segment to create a custom report for the VWO campaigns you have integrated with UA.
  3. Select New Segment as displayed in the following screenshot:
  4. Select Conditions as displayed in the following screenshot:
  5. To view custom report for a campaign , define a segment in UA as displayed in the following screenshot:
  6. In this example, VWO is the custom dimension name, CampID is the campaign ID (155 in our example), and VarName is the variation displayed to the visitor (Variation-1 in our example).

    Pro-Tip

    If you want to view the reports of the entire campaign, only specify the campaign ID (CampId:XXX).  To view a consolidated report a campaign, simply specify the Campaign ID. Enter the specific variation ID if you want to view reports for each variations in the campaign.

Check Your Email!
We've sent a message to
yourmail@domain.com
with an activation link in it.
Just click the link, and we'll take it from there.
Can't find the mail?
Check your spam, junk or secondary inboxes.
Still can't find it? Let us know at support@vwo.com