This website uses cookies to improve your experience and deliver relevant information.

on Monday, 26 June 2017

How to set up individual Google Analytics properties for different development environments

If you've followed our other posts about setting up Google Tag Manager for different development environments and how to implement GTM container code within Joomla templates, you'll probably next be asking how to set up Google Analytics so that you can separate out your development, demo and production sites.  Let's take a dive into the easiest way to do this with Google Analytics properties.

Creating the environments

The first thing we need to do is to ensure we have a Google Analytics property for each environment we want to work with.  Properties are displayed in the middle column when you are in administrator mode on Google Analytics, and the second click if you are changing between accounts on the top dropdown.

You will likely already have one property for your live environment and, hopefully, this is going to be under your own top-level account, allowing you to create more. All we need to do is set up the additional properties for your development and demo areas (and any other environments you need to use).

How to add new properties

Log into Analytics and open up your account.  Click on 'Admin' at the bottom of the left menu, and you will see three columns.  Making sure that the account under which you wish to create the additional properties is selected in the first column, click into the top of the second column and you will see the option to create a new property.  If you do not see this option, it is likely that you do not have high enough permissions.  Click on 'Users' and check to see whether you need to elevate your permissions.

google analytics create new property

Simply fill out the form and enter the environment URL in the relevant field - e.g.  This will create a new property and will present you with a new tracking ID on completion.  Make a note of all the tracking ID's as you will need them later. 

Repeat this process as many times as you need, until you have created all the profiles you will require.


Need Marketing or SEO support for your project? Work with the experts today!

Virya Group provides a range of solutions to your technology needs