View Single Post
Old 08-24-2006, 05:13 PM
davevg's Avatar
davevg davevg is offline
LawnSite Member
Join Date: Apr 2006
Location: Northwest NJ
Posts: 18
Originally Posted by Dunn's lawn service
Click in the box below to select all code. Copy and paste the code segment into the bottom of your content, immediately before the </body> tag of each page you are planning to track. If you use a common include or template, you can enter it there. See Example

But I don't know what it means and then it says something about if I have a template there is another way but I can't figure it out either.Any help appreciated
I am assuming you are referring to this:

How are you editing your HTML? Is it one of those free online sites, or do you upload the HTML to the webserver? Almost all tags on a web page are opened and closed. <body> is the open tag for the body container. </body> is the close tag.

A common include template is used if you are using a scripting language to generate the html. (JSP, Java, Perl, PHP, etc..) For example, one of the websites I work on using Mason (A Perl based web-templating system), I have a common header and footer page which is "included" in all page request. This keeps all of the page layout information the same across pages all pages. So lets say for example, I wanted to make a change to the menu bar. I would make the change in 1 place and it will be changed on all pages that include that file. I wouldn't need to modify every page on my site.

Back to your needs... So basically it is asking you to find the body close tag "</body>" in your html. Right before that paste the javascript specified.Ex.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html lang="en-US">
<title>Dunns Lawn Service - Home</title>
Here is the page body with a listing of your services
Blah Blah Blah
Blah Blah Blah

<script src="" type="text/javascript">
<script type="text/javascript">
Reply With Quote
Page generated in 0.04357 seconds with 8 queries