What is Google Analytics?
If your only just starting to explore this, let us tell you that this is possibly one of the most power tool that you can use in your digital marketing. With a little bit of setting up, you can track all the traffic that comes into your website or specific page. Even if you are just getting your website started, this is a great FREE tool which will allow you to see trends on where your clients come from and ways to improve your site for better traffic flow. To be clear this is a FREE dashboard. You can register your business and learn more about Google Analytics.
Once you created your account you will reach a dashboard that look a little like this image of ours when we started up. The trickiest part is connecting the your analytics portal with your website.
Once you complete your account set up, Google will require you to have a “property” created which refers to your website domain. To do this, go to Admin> and you will see a centre column which will be titled “property”. You should be able to press create and follow the process so that you have a registered property for your Google Analytics account.
In the same area, under the admin settings of your account, you will see a section titled “tracking code”. This is a key reference and piece of code that you will need in order to synchronise your google account with your website. the code should look a little like this code below for demonstration purposes:
Example of the code you are looking in the tracking code section This code is referred to by Google as the Gtag, or Global Tag. You will need to copy the entire code into your wordpress website. For now just copy the code…
How to install Google Analytics in your wordpress headers?
Now that you have got your tracking code, its time to install that code in your website. Dont worry, it sounds more complicated than it actually is. Although if you have a webmaster or website designer, just pass the code to them and they will install it, or if you are more the DIY type, simply follow our rough guide below and you will be up and running in under 5 minutes (well, 5-10 minutes max)
There are many ways to add Google Tracking Code…
Your code needs to be placed inside your header tags, in the code of each page you wish to track. Most people wish to track every page by default so we suggest putting the code into the header of each page. For WordPress users this is where it can be difficult.
There are articles online that state you can edit your theme files using wordpress editor, if that is for you then do it, however editing your theme files is dangerous and can break your website. That is often why people turn towards plugins like Insight Monster and Exact Metrics to avoid having to play with theme files. Ourselves, we prefer a much more simple plugin apply named “header and footer“
Header and Footer Plugin
The header and footer plugin can be found here. In order to use this, you will need to download the Zip file for this plugin. Once you have downloaded it, go to your WordPress dashboard >Plugins > Add new. From there at the top of the page you will have a button that says “upload plugin” Complete this process and upload your Zip file. NOTE > you do not need to extract the zip file anywhere. Keep it Zipped.
Once you have selected and uploaded the file, WordPress should prompt you to install and activate this plugin. If you did this correctly, you will see under your Settings menu, an option called “header and footer” has appeared. Open this up and you will see all the plugin options.
As you can see this gives you a lot of options, but all you need to do is copy the original Google Tracking Code into the head section for “on every page”. It will look like this below:
Once you have done this – don’t forget to save at the bottom of the page. Allow up to 24 hours for this to link up with your Google Dashboard and you will start to see how your website traffic uses your website. You wont need to do this process again once this is complete.
If you would like any assistance in setting this up for you we would be happy to help. Feel free to contact our team and we can set this up for you. If you are stuck and need asssistance, call us on 0800 193 0922