Saturday, September 3, 2016

Integrate Google Tag Manager/Analytics to My Website

Google Analytics is a freemium web analytics service offered by Google that tracks and reports website traffic.

To follow the below steps to create a google tag manager.

  1. Sign in google tag manager tool https://www.google.com/analytics/tag-mer/ by using any google account . 
  2. Create a new tag manager account.
  

       3.   Specify the account name and website URL and select the "Where to use container" options are web, ios or android.
      4.   Then select the agreement condition
      5.   Then copy the javascript code which is showing in popup.  That code we have to place inside head tag in our website.
      6.    Similarly we have to create a google analytics account from the URL https://www.google.com/analytics/

   7.    Click the Get Tracking ID, then copy the id keep it.
   8.    Now we have to connect the google analytics from tag manager.
   9.    Go to Tag manager tool again.
   10.  Click the workspace from the menu then select the Tags from left side bar.
   11.  Then new link and it will open a popup
   12.  Select the Tag configuration.
   13.  Click Universal analytics and enter the google analytics tracking id.
   14. Click save and publish the changes.

Now the users activity and pageviews can be monitor from the Google analytics.