How to add Google Analytics to track visitors to website ?

If you are developing a new website or you already have some website and want to know how many visitors are visiting your website daily, How is the user behaviour on your website, how many of them are visiting on mobile and much more questions can be answered once you add tracking code provided by Google Analytics to your website.

Google Analytics provides a simple tracking code in java script which you can copy and paste into your website’s head html tag. For this first, you will have to add your website to google Analytics, and get the tracking code as below,

Related :   Fix: Website URL Not Showing 'Secure' In Browser After Installing SSL

Login to Google Analytics https://analytics.google.com/analytics/web/#/

Once logged in, click on “Admin” from left sidebar bottom and from Accounts tab as shown below, click on “Create Account”

Google Analytics

From opened page, add “Account Name” and click “Next”

From the next opened page, Select “Web” as shown below and click “Next”

From next tab, Give Name to your property, enter website, select category, timezone and click on Create. You will be prompted to accept the license.

After accepting the license, you will be shown a window which has a java script code which you can copy and paste to your website’s HEAD tag, like below,

Google Analytics3

lynxbee_ezoic

Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )

   


Leave a Comment

Android Android Build system Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded