G Analytics on a Proxy?

Discussion in 'HTML & Website Design' started by Vadym, May 11, 2007.

  1. #1
    The proxy is entirely php/css based. Where would I insert the analytics script?
     
    Vadym, May 11, 2007 IP
    moneyballs2 likes this.
  2. moneyballs2

    moneyballs2 Well-Known Member

    Messages:
    452
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Insert it at the very end of the file, before the </HTML> closing tag. It may be </body> aswell

    I have one on my proxy and it works fine.
     
    moneyballs2, May 11, 2007 IP
  3. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Typically they ask you to insert it into the head of your document. between the <head></head>.

    On another note, if you're looking for some great targetted traffic you can submit to my topsite: http://www.good-proxy.com :)
     
    Louis11, May 11, 2007 IP
    d16man likes this.
  4. moneyballs2

    moneyballs2 Well-Known Member

    Messages:
    452
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    140
    #4
    they don't want it in the head. otherwise it wouldn't track. They want it at the end of the page.

     
    moneyballs2, May 11, 2007 IP
  5. Vadym

    Vadym Peon

    Messages:
    2,857
    Likes Received:
    95
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's in PHP. I see no html tags there whatsoever.
     
    Vadym, May 11, 2007 IP
  6. moneyballs2

    moneyballs2 Well-Known Member

    Messages:
    452
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    140
    #6
    it's ALL in php?

    what php script do you use?

    if it's phproxy you need to put it in index.inc.php (which is the design) if it's anything else i not got a clue.
     
    moneyballs2, May 11, 2007 IP
  7. Vadym

    Vadym Peon

    Messages:
    2,857
    Likes Received:
    95
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Where in the index.inc.php?
     
    Vadym, May 11, 2007 IP
  8. moneyballs2

    moneyballs2 Well-Known Member

    Messages:
    452
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    140
    #8
    in the index.inc.php file open in notepad or similar and search for "</body>" it should find it. Then just add your code before that and save...
     
    moneyballs2, May 11, 2007 IP
    Vadym likes this.
  9. Vadym

    Vadym Peon

    Messages:
    2,857
    Likes Received:
    95
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Right. Thanks, installed.
     
    Vadym, May 11, 2007 IP