Why you should use a test property in Google Analytics

Following is the typical structure of a Google Analytics account:

ga account structure

A Google Analytics (GA) account can contain one or more properties.

In the context of GA, a property represents a website or a mobile app. So if you have got one website, you are most likely to use only one GA property. On the other hand, if you have got two websites then you are going to use two GA properties.

Each GA property can be made up of one or more views.

In the context of GA, a view is a profile that contains all or segmented data of a GA property.

A view is made up of several reports. 

The majority of businesses have got only one website so they generally use only one GA property.

Let us call this property a ‘live GA property’, for easy reference.

By default, every GA property has got one view called the ‘All Website Data’ view.

You can change the settings of your ‘live GA property’ at both the property and view levels:

property settings

Whenever you change the settings of your live GA property, you change the way your data is collected, processed and reported by Google Analytics. 

Following are the various methods through which you can change the settings of your live GA property:

Every change you made to your GA property setting(s) has the potential to inflate/skew your current analytics data.

The majority of optimizers directly make changes to their ‘live GA property’ before testing them on a different property. Let us call this different property as ‘test GA property’ for easy reference.

Here is how both ‘test’ and ‘live’ properties listing may appear in your GA account:

test property

A typical ecommerce website updates almost all of the time. Similarly, new marketing campaigns are launched, old marketing campaigns are paused/edited almost on a daily basis.

All of these changes, force optimizers to change the settings of their ‘live GA property’ in one form or the other, with or without using Google Tag Manager.

But whenever they change such settings, they risk inflating/skewing their analytics data.

Let us suppose you implemented new custom dimensions. Now if your custom dimension setup is not correct, you will have to make changes to it. But while you are making changes to get your custom dimension set up right, you are also unknowingly skewing your analytics data in the background. 

Even if you are using a ‘test view’ (a GA view set up just for testing purpose), you are still skewing your analytics data because custom dimensions are set at the property level and not at the view level.

So using a ‘test view’ is not good enough. You need to use a ‘test property’.

Creating a test property in Google Analytics

A test property is just like any other GA property. You create test property in the same way, you create any other property.

You can learn more about creating a new property from this article: https://support.google.com/analytics/answer/1042508?hl=en&ref_topic=1009620

Getting all of the tracking data in the test property

Creating a test property in GA is the easy bit, getting data into it can be quite hard.

When you use a test property in GA, you are basically creating a duplicate of your ‘live GA property’ with same property settings and tracking setups.

Both properties will/should get exactly the same data. The only difference will be, that the test property could/would contain test data. Whereas, the live property won’t contain any test data.

A ‘live GA property’ represents your live/production website. Whereas a ‘test GA property’ represents your ‘staging website’.  

You don’t push any changes to your live website without first thoroughly testing them on your staging website. Similarly, you don’t push any changes to your live GA property without first thoroughly testing them on your test GA property. 

If you maintain ‘staging’ and ‘live’ versions of your website then this concept of ‘live’ and ‘test’ environment should not be new to you.

There are various methods you can use to get analytics data into your test GA property.

If you use a staging website

You can copy-paste the Google Analytics tracking code provided by your test property on all pages of your staging website and then duplicate all of the existing website tracking currently being deployed via live GA property into the test property.

If you use Google Tag Manager then you can create a new test container just for the staging website and then duplicate all of the existing website tracking currently being deployed via live GTM container into the test GTM container.

Note: Make sure that you never auto-import the configuration settings (tags, triggers, and variables) of your test GTM container into the live GTM container. This could accidentally skew your live GTM configuration settings and skew your analytics data. Always manually make changes to your live GTM container.

If you do not use a staging website

If you are not using a staging website then you have to use two trackers on your live website.

One tracking object will send all of the analytics data to your ‘test GA property’ and the second tracking object will send all of the analytics data to your ‘live GA property’:

mutiple trackers

This is a complicated tracking setup and I would recommend that you use a developer who understands the ‘Google Analytics development environment’. 

I use multiple trackers to send the same analytics data to two different GA properties (‘live property’ and ‘ga property’).

You can learn more about using multiple trackers from this article: Using multiple Google Analytics tracking codes on web pages

Do you want expert help in setting up/fixing GA4 and GTM?

If you are not sure whether your GA4 property is setup correctly or you want expert help migrating to GA4 then contact us. We can fix your website tracking issues.

Related Articles

  1. Introduction to Google Analytics Apps and Web Property
  2. How to set up Apps and Web Property in Google Analytics

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

About the Author

Himanshu Sharma

  • Founder, OptimizeSmart.com
  • Over 15 years of experience in digital analytics and marketing
  • Author of four best-selling books on digital analytics and conversion optimization
  • Nominated for Digital Analytics Association Awards for Excellence
  • Runs one of the most popular blogs in the world on digital analytics
  • Consultant to countless small and big businesses over the decade