Create a Google Universal Analytics segment in 4 steps

Sommaire

(article updated 12/03/15)

“How do I evaluate the results of an A/B test via Google Universal Analytics?”
Not long ago, a customer asked us this question. Then we realized that many of you were asking it.
Conducting an A/B test to evaluate a service is all well and good. Being able to feed the information back into Google Analytics or Universal Analytics is even better. So here’s a tutorial on how to retrieve the results of your A/B test directly in your Google Analytics or Universal Analytics account.

First of all, you should know that, generally speaking, to retrieve the data from an A/B test (of any kind) in your Google Analytics, you need to modify the tag directly in the code of your site. (The easiest way to do this is to use the site developer or a Tag Manager-type tool).

But good news! If you’re using Fasterize, you can skip this step, as we’ve already integrated the tag automatically! All that’s left is for you to quietly pull up the information in Google Analytics. Here’s how to do it:

1. Check which version of Google Analytics you’re using

Are you using Google Analytics or Universal Analytics?
Now that you have the answer to this first question, you have two options:

2. Create the custom dimension

    • log in to your Google Analytics account and click on admin (in the top menu), then in the middle column (property), choose “Custom dimensions”.

Universal Analytics dimensions personnalisées

    • click on “new custom dimension” and give your dimension a name (Fasterize for example)

paramètre dimensions personnalisées

  • click on “create”.

Your new dimension is created!

3. Create a segment

We’re going to create two new segments: “Fasterize On” and “Fasterize Off”.

    • Go back to your dashboard and click on “+ Add segment”.

Etape 2

    • click on “+ new segment

Etape 3

    • create the Fasterize On filter as follows:

Etape 4

    • go to Advanced > Conditions

Etape 5

    • configure the segment by specifying: fasterize (to be chosen in the custom dimension sub-section) contains yes

Etape 6

  • repeat the operation, creating the Fasterize off segment (fasterize contains no)

4. Compare the data by selecting the two filters

Etape 8

And that’s all there is to it. You can analyze all the business metrics you want. And by the way, here’s a sample excel doc for measuring your KPIs.

Don’t hesitate to leave us a comment to tell us what you think of this tutorial, or to ask us any questions you may have!

Want to speed up your site?
Lighten your server load during peak periods?

 

 
Discover our features
Sommaire
Test your site's performance in 1 click

Published by

Share!

Discover other articles…

webperf ranking banniere

Monthly ranking of the most visited websites in the uk: travel, media, ecommerce. Based on Vitals Core Web, metrics that evaluate several aspects of your

ranking fr

We analysed real-user data from the top French websites to see who leads in speed, stability, and interactivity — and who still has work to

EN-02

Discover how Fasterize and WAM use Test & Learn and EdgeSEO to make SEO agile and effective in the age of AI and generative search.

Boost your site speed now with EdgeSpeed!