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

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

  • 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…

Illustration: three beams of light arrive at the entrance to a site; two pass through, whilst the third is stopped – just like authorised or blocked AI crawlers

GPTBot, ClaudeBot, PerplexityBot: three families of AI crawlers, three different approaches. How to identify them, verify them and decide which ones to allow through.

…
Illustration : une acheteuse avec un sac de shopping marche dans la neige vers une porte ouverte d'où jaillit une lumière orange chaleureuse, avec des cadeaux posés devant, comme un site prêt à accueillir ses visiteurs le jour du Black Friday

Black Friday is on 27 November and the code freeze is close. Eight things to check this week: key pages, FAQs, prices, crawlers, peak-day speed

…
E-commerce: getting your website ready

AI assistants already read e-commerce sites, and agents are starting to act on them. What changes for your site and the technical work to plan

…

Boost your site speed now with EdgeSpeed!