1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Google analytics problem

Discussion in 'Google Analytics' started by villan, Nov 30, 2008.

  1. #1
    I have a doubt in installing tracking code from Google analytics.I got the code from google analytics.

    Should i insert the code to everypage ? or can i install the code only for index page ..? I need full tracking ,
    Can anyone help me ....?
     
    villan, Nov 30, 2008 IP
  2. shilpamg

    shilpamg Peon

    Messages:
    228
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i think you should insert the code to every page.
     
    shilpamg, Nov 30, 2008 IP
  3. rena

    rena Peon

    Messages:
    1,987
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If all pages are static u have to add it in all pages. Any how add the script in a HTML page then include it in all pages using file include html code, if dynamic make one commen footer and include it in the main template
     
    rena, Nov 30, 2008 IP
  4. villan

    villan Active Member

    Messages:
    569
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    85
    #4

    Could you tell me in specific ..?
     
    villan, Nov 30, 2008 IP
  5. Homer

    Homer Spirit Walker

    Messages:
    2,396
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    0
    #5
    This Google Forum thread may guide you. Basically the ga code should be installed above the </body> tag on every page you want to track. Yes, you can do it with one include footer file.

    Advanced Implementations Include:

    - Sites that span multiple domains
    - Tracking Offline Advertising
    - Tracking Phone Calls
    - Links, downloads or special page elements you want tracked
    - Does your site allow for java script
    - Are there ‘frames’ being used
    - Ecom website what software is used
     
    Homer, Dec 1, 2008 IP
  6. SEOSURAT

    SEOSURAT Banned

    Messages:
    261
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    for full tracking..you should add tracking code to all pages just above</body>
     
    SEOSURAT, Dec 1, 2008 IP
  7. flatroxs

    flatroxs Banned

    Messages:
    396
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    if u dont want to install code, u can also add file to your source
     
    flatroxs, Dec 1, 2008 IP
  8. suman817

    suman817 Well-Known Member

    Messages:
    1,777
    Likes Received:
    378
    Best Answers:
    0
    Trophy Points:
    175
    #8
    If your site developed using php, add tracking codes in a common file, i.e. in header or footer. If every page is individual, then you've to ad tracking code in every pages. Get the common page that is used in all pages, add codes to that common page. If u're using template, add codes to the template. You can paste tracking codes in a blank file (e.g. tc.html), then include this file in other pages. Its easier than writing codes several times.
     
    suman817, Dec 1, 2008 IP