web-stat code insertion (3 posts)

  1. Stusi
    Posted 10 years ago #

    So for http://www.web-stat.com i got a javascript code to add to each page. Where would i add this in my template because it says...

    "For traffic analysis to start you need to add the code below to your site's main page. If possible you should also add the code to the rest of your site's pages (you will get more complete stats if you do)."

    And then gives me some javascript. So where should i put the javascript because i have no idea how to find the body of my html.

  2. MattRead
    Posted 10 years ago #

    in your theme look for a file called footer.php. add the code just _above_ </body> in that file. then save the file.

    Matt Read

  3. Stusi
    Posted 10 years ago #

    Thanks, i figured it out on my own after playing with it for a bit. I didn't realise all the PHP calls in the pages was actually set in HTML. That's a new one... and that's why it's been soooo damn hard for me to make a site lol.

Topic Closed

This topic has been closed to new replies.

About this Topic