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…

Nouveau rapport IA dans Google Search Console pour mesurer la visibilité dans les AI Overviews et l'AI Mode.

Google is finally shedding light on AI Overviews. With a new performance report in Search Console and a feature that allows publishers to opt out

3D illustration of an AI agent connected to a web interface and several digital elements, symbolising machine understanding, automation and website optimisation for intelligent agents.

AI agents are changing the way websites need to be designed. To remain visible, understandable and actionable, high-traffic websites must strengthen their fundamentals: semantic HTML,

Illustration of an llms.txt file connected to a website structure and several AI agents, representing content organisation for artificial intelligence systems.

Lighthouse now audits the presence of an llms.txt file. It will not boost your Google SEO, but it helps AI agents understand your website’s structure,

Boost your site speed now with EdgeSpeed!