Check A/B Testing data on Google Analytics

This article will walk you through steps to check your A/B testing data pulled from Google Analytics. To explore more about how to optimize your store with our A/B testing feature, check out this article.

In fact, GemPages doesn’t collect any statistics in-app but uses data collected by your own Google Analytics account instead. From the GemPages Dashboard, you can check the report from Google Analytics by clicking on the button on the left of the settings button. 

 

Since the data will be reflected from your connected Google Analytics account, please ensure that you have everything configured correctly. For more information, kindly refer to this article.

The campaign report lists out the traffic weight, followed by seven key metrics as below. 



In some cases, you might prefer to look for these metrics from the Google Analytics dashboard rather than from GemPages. Fair enough, we will guide you through the steps of identifying the origin of each metric on Google Analytics.

View your Variant ID and Campaign ID

Before we start, you will need to know how to locate your Variant ID and Campaign ID to search for the result properly. 

Campaign ID

Step 1: From the GemPages Dashboard, navigate to the A/B testing feature. Select your preferred campaign.


Step 2: The Campaign ID is the number following "/experiments/" on your URL. 


 

Variant ID

Step 1: From the GemPages Dashboard, locate the page that is being used for the A/B testing campaign. 

 

Step 2: Click on the three-dot button and select the “Preview” option. 


 

Step 3: The variant ID would be the number after "?preview=" on your preview page's URL. 

 

Customize your Google Analytics report

Step 1: From your Google Analytics dashboard, navigate to Behavior > Events > Top Events. Under the Event Category, please click on “GemPageABTesting”

 


Step 2: After that, select Edit on the top bar.

 

 

There will be an open window for your to customize your report. Under Report Content > Metric Groups > Event section, hit the “Add metric” button. Next, search for the Users, Transactions and Sessions metrics and add them to your report. You will need them to check the A/B testing data in the next sections.

 


Don’t forget to click on “Save” to save your progress.

 

Unique Users

Step 1: From your Google Analytics dashboard, navigate to Behavior > Events > Top Events. Under the Event Category, please click on “GemPagesABTesting”.

 

 

Step 2: Use the search term “pageView_campaignID_variantID”, for example,  “pageView_13_1624932698”. Then you can check the “Users” column for the number of Unique users.

 


 

Pageviews

Step 1: From your Google Analytics dashboard, navigate to Behavior > Events > Top Events. Under the Event Category, please click on “GemPagesABTesting”.

 

 

Step 2: Use the search term “pageView_campaignID_variantID”, for example,  “pageView_3317_1650535203”. You will see the pageviews data displayed in the corresponding “Total events” column. 

 

Sessions

Step 1: From your Google Analytics dashboard, navigate to Behavior > Events > Top Events. Under the Event Category, please click on “GemPagesABTesting”.

 

Step 2: Use the search term “pageView_campaignID_variantID”, for example, “pageView_3317_1650535203”.  You will see the Sessions data displayed in the corresponding “Sessions” column. 

 

Add to Cart and Add to Cart Rate

Step 1: From your Google Analytics dashboard, navigate to Behavior > Events > Top Events. Under the Event Category, please click on “GemPagesABTesting”.



Step 2: Next, search for the term “addToCart_campaignID_variantID” (for instance, "addToCart_3317_1626342686”) and look for “Total event”. That’s how you can find the Add to Cart statistics. 

   

 

The Add to Cart Rate metric is calculated by dividing the Add to cart number by the total number of Sessions

Conversion and Conversion Rate

Step 1: From your Google Analytics dashboard, navigate to Behavior > Events > Top Events. Under the Event Category, click on “GemPagesABTesting”.

 


Step 2: Next, search for the term “pageView_campaignID_variantID” (for instance, "pageView_3317_1650535203”) and look for “Transactions”. That’s how you can find the Conversions statistics. 

   

 

The Conversions Rate metric is calculated by dividing the Conversions number by the number of Sessions

For the conversion metric to be shown on your report, your Google Analytics account should be a Universal Analytics account (Google Analytics 3). If you don’t have one, check out this article for more information.

That’s how you can review your A/B testing data from both GemPages and Google Analytics. If you have any difficulty taking these actions, please let us know directly via email & live chat to have them answered!


Was this helpful?