where to put the code pls help

Discussion in 'Google Analytics' started by smart_ladoo, Nov 3, 2010.

  1. #1
    hi there i am newbie,pls help me to apply the analytic code thanks.

    here is my footer.php

    <table border="0" width="100%">

    <tr><td align="center"> © copyright info <br><?php include("onlineusers.php"); ?></td></tr>

    <tr>

    <td class="footer_dv">

    </td>

    </tr></tabel>
     
    smart_ladoo, Nov 3, 2010 IP
  2. infoman66

    infoman66 Peon

    Messages:
    58
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Put your Google Analytic code on the end of the content before </body> tag...
    Sample:
    <table border="0" width="100%">
    <tr><td align="center"> © copyright info <br><?php include("onlineusers.php"); ?></td></tr>
    <tr>
    <td class="footer_dv">
    </td>
    </tr></tabel>
    [COLOR="royalblue"]<!-- Google analytic code -->
    
    <!-- google analitic code end -->[/COLOR]
    [COLOR="red"]</body>[/COLOR]
     
    Code (markup):
     
    infoman66, Nov 4, 2010 IP
  3. seoamit04

    seoamit04 Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi, According Google Code should be placed in heading tag but due to some loading issues we place it in body before closing body "</body>" tag.
     
    seoamit04, Nov 4, 2010 IP
  4. Customtollfree12

    Customtollfree12 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi the Google Analytics code should be placed before the closing of the Body </body>Tag.

    Thanks,

    Mable
     
    Customtollfree12, Nov 6, 2010 IP
  5. seobeena

    seobeena Well-Known Member

    Messages:
    242
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Footer Area is good to place an analytic code.
     
    seobeena, Nov 7, 2010 IP
  6. smart_ladoo

    smart_ladoo Active Member

    Messages:
    250
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    i will inform you after implementation
     
    smart_ladoo, Nov 8, 2010 IP
  7. chainas

    chainas Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    And could You explain why?
     
    chainas, Nov 8, 2010 IP