Google Analytics is free tool provided by Google to track the behavior of visitors and web pages of your website. It also provide real time visitors, Demographics, Traffics channel and other valuable metrics.
How to Setup a Google Analytics Tracking Code
Follow these simple steps:
Sign into your Analytics account:
Visit www.google.com/analytics/ to sign up or sign in to Google Analytics with your Gmail username and password.
If you are signing up for the first time, you will need to submit your website information like website address, name for your website, your country, and your time zone.
Accept the user agreement, read and accept the user agreement before you can finish creating an account for Google Analytics.
Account Name: The name you wish to put in your account
Website Name: The name of your website
URL: URL of your website homepage
Industry Category: Category of your business
Reporting Time Zone: Choose this based on your business location
Data Sharing Settings: Check all the options (for future benefits)
After submitting all the information Click on Get Tracking ID, you will get a Tracking ID and Website Tracking Code.
How to Paste Code on Website:
- Static Website: A static site is written in plain HTML. Paste your tracking code before the closing </head> or just before the closing </Body> tag on every web page on your site.
- Dynamic Website: A dynamic site is written using a server-side scripting language such as PHP, ASP, JSP, or Coldfusion. Paste your tracking code into its own include file, then include it in your page header, so that the snippet appears before the closing </head> tag on every web page on your site you wish to track.
After successfully installing Analytics tracking code, it may take up to 24 hours to reflect the data into your dashboard.
Verify the tracking code is working:
There are a few ways you can check to see if the Google Analytics tracking code on your website is working.
Click the Reporting Tab
1. Select Real-Time > Overview.
You will see the numbers, if users are online on your website.
2. Select Audience > Overview.
You will see the graph.
I hope this post is useful to you. If you want to discuss this further, drop a mail for business related queries, mail us at email@example.com