• Video Tutorial
  • GemPages Forum
Start For Free
  • Video Tutorial
  • GemPages Forum
homeOptimizeCheck A/B Testing data on Google Analytics 4 (GA4)
homeOptimizeCheck A/B Testing data on Google Analytics 4 (GA4)

Check A/B Testing data on Google Analytics 4 (GA4)

This article offers guidance on comparing the data presented in the GemPages A/B testing report with that of Google Analytics 4.
To ensure accurate data reflection from your linked Google Analytics 4 account, please verify that your settings are configured properly. You can refer to this article for a detailed guide.

Please be noted that GemPages does not gather any internal statistics but instead utilizes the data collected by your Google Analytics account. Go to GemPages Dashboard > A/B Testing and select your preferred campaign, you can check the report from Google Analytics by clicking on the button on the left of the settings button.

The campaign report displays traffic weight and five key metrics since the Conversion and Conversion rate metrics have been temporarily disabled for technical updates. We will improve the accuracy of these metrics and expect them to be available again in the near future.

If you prefer, you can locate these metrics on the Google Analytics dashboard instead of using GemPages. We will guide you through the steps to identify the source of each metric through this article. 

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: Go to Reports > Engagement > Events in your Google Analytics dashboard and click the Pencil icon in the top right corner. 

Step 2:  A new window will open, allowing you to customize your report. Click on Metrics > Add metrics and search for the Sessions metric using the search bar. Click “Apply” when finished.

After completing these steps, you will be able to view a report that contains the key metrics of your A/B testing report.

Locate the key metrics in the report

Unique Users, Page Views, and Sessions

Search for the term “pageView_campaignID_variantID”, for example,  “pageView_6617_1680492964”. 

  • Unique Users: You will see the Unique Users number displayed in the “Total user” column.

  • Page Views: The Page views data is displayed in the “Event Count” column.

  • Sessions: The number of session data can be found in the corresponding column.  

Add to Cart & Add to Cart rate

To find the Add to Cart statistics, search for “addToCart_campaignID_variantID” (e.g., “AddToCart_6617_1680492964”) and look in the “Event Count” column.

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

By following these steps, 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?

Yes  No
Related Articles
  • Connect your A/B Testing to Google Analytics 4 (GA4)
  • Optimize your store with A/B testing
  • Improve your store’s on-page SEO
  • Speed up your page loading time
  • How to check whether your A/B Testing is working
  • Check A/B Testing data on Universal Analytics (GA3)
footer logo
  • Release Note
  • Privacy Policy
  • Terms of Service
  • Community
  • Video Tutorial
© 2017-2023 GemPages. All rights reserved.
Popular Search:Responsive design, Transfer content, Custom code