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 six 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. 


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. 


 

Step 3: Click on the three-dot button on the right side of the original or variation page. Hit the “Edit” option. 


 

Step 4: The variant ID would be the number after "?id=" on your URL. 

 


 

Unique Pageviews

Step 1: From your Google Analytics dashboard, navigate to Behavior > Site Content > All Pages.

 

 

Step 2: Next, search for your page by the term “variantId=XXX&campaignId=YYY”, for example, "variantId=1624932641&campaignId=13". You will see the unique pageviews data displayed in the corresponding “Unique pageview” column. 


 

Pageviews

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



Step 2: Next, use the search term “pageView_campaignID_variantID” to look for your page, for example "pageView_13_1624932698”. Then you can check the “Total event” column for the number of page views.

 

  

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_13_1624932698”) 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 “Unique pageviews.”

Conversion and Conversion Rate

Step 1: Access your Google Analytics dashboard. Navigate to Behavior > Site Content > Landing Pages. After that, you can check the Transactions column for the number of conversions then. 

 

 

Step 2: Search “variantId=XXX&campaignId=YYY” for the matching page, for example, "variantId=1624932641&campaignId=13".

  

 

The Conversion Rate metric is calculated by dividing the number of Transactions by the number of Unique Pageviews.

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?