If you’d like to know how much traffic your website gets (visitors), where it’s coming from (traffic sources), demographics of your visitors, what they do on your site (behavior), how your site performs, a way to track conversions and much more, you should install free website analytics from Google.
It’s much easier to do than you think. You’ll need to have access to the code on your website or blog, so depending on how it was built and how comfortable you are with cutting and pasting a snippet of code, you can do this yourself or have your web developer do it for you.
Some web hosting companies and blogging platforms have their own widgets that will make the copying and pasting part of the installation really easy and foolproof. But you’ll still have to create a Google account and add your web property to it.
If you don’t have a Google account, create one. Or if your Google account is for personal use, create a new one that is strictly for business use. Why? So you can share this account info with your web developer, employees, IT support, etc. and keep your personal information private.
Paste the tracking ID code into the code on your web page, just before the closing </head> tag. (which should be near the top of the page of code)
You should add this code to every page that you want to track. Most small business websites just track activity to their home page, but you might have a blog also, or specific landing pages you want to track. You use the same code for each page; don’t try to generate different code for each page.
Verify that your tracking code is properly added and communicating with Google.
Once your tracking code is installed and verified, you can log in to your Analytics account and set up goals for tracking.
Take a few minutes to look at this very easy-to-follow slide show for help on using Google Analytics and how to set up reports.
Removing Outdated Google Analytics Code
If your website has old Google analytics tracking code on it, remove it before adding the new code. So if you look at the code on your page and scroll all the way to the bottom, you might see something like this:
Or the code may look something like this:
Delete the <script> tag and everything contained in it, leaving the closing </body> and closing </html> tags, so it will now just look like this:
To add the new asynchronous tracking code, log in to your GA account, click on the orange Admin tab and then click on the Tracking Info tab. Copy the tracking code from there and paste it into the code at the top of your web page(s) just before the closing </head> tag.