TABLE OF CONTENTS


<aside> ⚠️ This article describes the process for the “old” Google Analytics 3 (Universal Analytics). If you are interested in the process for the new, Google Analytics 4, we have a separate article for that.

</aside>

Goal

Measuring the Revenue / Conversion gains caused by Prefixbox.

Process

Setting up an AB test where 50% of the users see Prefixbox, 50% of the users don’t see Prefixbox suggestions. The test should be run for 7 or 14 days.

Responsibilities

1) Prefixbox Team

Setup an AB test on the Prefixbox Portal.

2) Customer

Setup GA tracking of the AB test as described below.

3) Prefixbox Team

Start the AB test and monitor results.

Google Analytics Configuration

Introduction - Sticky 1st Party Cookie

Prefixbox uses a user based, 1st party cookie (_prefixboxIntegrationVariant) which contains the value indicating whether the user is on A (‘control’) or B (‘treatment’) version of the experiment. This cookie is “sticky” which means that a particular user sees the same version during the whole period of the test.

Step 1 - Create a User Defined Variable in GTM