Magento Expert Forum - Improve your Magento experience

Results 1 to 7 of 7

Do I need to add my Google Analytics tracking code to each page of my site

  1. #1

  2. #2
    Junior Member
    Join Date
    Apr 2016
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    you should put the analytics code in the header page

  3. #3
    Junior Member
    Join Date
    Apr 2016
    Location
    Delhi
    Posts
    112
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default

    Quote Originally Posted by kajal View Post
    Recently we redesign our site, added Google analytics tracking code but Real time traffic for inner pages not showing content of that particular page.
    IF you want to add ga code for every page so just go to header file which is commen & add ga in head section..

    It will save for time to add code to everypage.

  4. #4
    Junior Member
    Join Date
    Jul 2016
    Posts
    91
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If you create an html box you can add the GA code you all your pages. Go to the site editor and select Add->Apps-> and then click on the HTML button. Once you do that open the settings for the HTML box and change the mode from "website address" to "HTML code." Paste the GA code in there, click update and then move the HTML box to the header. This will make sure that the box is shown on every page like Google Analytics wants. It shouldn't interfere with things that are above or below it.

  5. #5
    Junior Member
    Join Date
    Oct 2015
    Location
    Dallas, TX
    Posts
    65
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Of course you need. Knowing your traffic and current customer behaviour is as crucial as maintain your website

  6. #6
    Junior Member
    Join Date
    Apr 2016
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    now you can put Google Analytic tracking code to header only.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •