Obtaining a Google Analytics account and installing it in your website is not as complicated as it seems! There are also other alternatives to Google Analytics – and much of the information below can be used to install those as well.
Below is a simple tutorial written just for beginners on how to set-up and install Google Analytics on your websites.
CREATE ANALYTICS LOGIN OR SIGN IN
Go to https://www.google.com/analytics/
In the upper right you will see a dropdown labeled Sign In from there you will select click Google Analytics – you should then see the screenshot below if you are not logged into Google
If you have an existing Google account you can login – if you do not you will need to create a new one – then go to the link above to get to analytics
Once you login for the 1st time you should see a page that looks like this
SIGN UP FORM
Click the SIGN UP button to begin creating your account
The next screen should look like the one below and you will need to complete the necessary fields.
ACCOUNT NAME: Formal name of your business (we use 2 Dogs Media LLC)
WEBSITE NAME: Actual name of your website (we use 2 Dogs Design)
WEBSITE URL: your full url – you should use www if it is standard in your URL
INDUSTRY CATEGORY: You will want to choose the category that most closely resembles your industry – this is useful as it can provide you a baseline of how similar businesses in your segment are performing compared to you
TIME ZONE: Select your country and time zone
DATA SHARING SETTINGS: We uncheck them all – but this is a personal choice
CLICK GET TRACKING ID
Once you click the get tracking ID button you will see a service agreement that you will need to accept before moving on!
INSTALLING GOOGLE ANALYTICS TRACKING CODE
After accepting the terms, you should be sent to a page that looks like this:
In there you will see the area that says “This is your tracking code. Copy and past it into the code of every page you want to track.”
So you will copy and paste the exact code that is in the box from the starting < script > to the closing < /script >
INSTALLING ON WORDPRESS
On WordPress you can copy and paste the code in the footer.php file just before the < /body > tag. This will ensure that the code is implemented on EVERY page of the website. There are also plugins that you can use but we try to not use plug-ins for simple things like this!
In MOST WordPress installations you can do the following:
1) Go to APPEARANCE > EDITORS in the WordPress administrative area
2) In the right side you should see a file called footer.php – click on that (be sure you keep a copy of the code that is in there in case something goes wrong!)
3) You may see something like this at the bottom of that page:
If so you will copy and paste the code just above that