Register free!
Search
 
     

The Green Industry's Resource Center


Click for Weather
Reply
 
Thread Tools Display Modes
  #1  
Old 08-17-2006, 07:35 PM
Dunn's's Avatar
Dunn's Dunn's is offline
LawnSite Bronze Member
 
Join Date: Mar 2006
Location: In a house, on a street
Posts: 1,548
the body of a webpage

what is the body of a webpage i is telling me to copy and paste the link before tha body of my page to track it?
Reply With Quote
  #2  
Old 08-17-2006, 07:43 PM
davevg's Avatar
davevg davevg is offline
LawnSite Member
 
Join Date: Apr 2006
Location: Northwest NJ
Posts: 18
Quote:
Originally Posted by Dunn's lawn service
what is the body of a webpage i is telling me to copy and paste the link before tha body of my page to track it?
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-US">
<head>
<title>Dunns Lawn Service - Home</title>
</head>
<body>
Here is the page body
</body>
</html>
Reply With Quote
  #3  
Old 08-17-2006, 10:21 PM
Dunn's's Avatar
Dunn's Dunn's is offline
LawnSite Bronze Member
 
Join Date: Mar 2006
Location: In a house, on a street
Posts: 1,548
Yea sorry still don't understand that computer language, but I did figure it out though thanks!
Reply With Quote
  #4  
Old 08-18-2006, 04:19 AM
WebMan's Avatar
WebMan WebMan is offline
LawnSite Member
 
Join Date: Aug 2006
Location: D/FW TX
Posts: 11
Quote:
Originally Posted by Dunn's lawn service
what is the body of a webpage i is telling me to copy and paste the link before tha body of my page to track it?
Just curious...what is telling you that?
__________________
Web Host by trade (-free domain name if you're from Lawn Site); National Service Industry Marketing & Sales Consultant-Trainer by request.
Occasional Code Player (web site code)- 2 kids at 52-never bored .
Reply With Quote
  #5  
Old 08-24-2006, 03:54 PM
Dunn's's Avatar
Dunn's Dunn's is offline
LawnSite Bronze Member
 
Join Date: Mar 2006
Location: In a house, on a street
Posts: 1,548
Quote:
Originally Posted by WebMan
Just curious...what is telling you that?
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
Reply With Quote
  #6  
Old 08-24-2006, 04:13 PM
davevg's Avatar
davevg davevg is offline
LawnSite Member
 
Join Date: Apr 2006
Location: Northwest NJ
Posts: 18
Quote:
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:
http://www.google.com/support/analyt...908&topic=7325


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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-US">
<head>
<title>Dunns Lawn Service - Home</title>
</head>
<body>
Here is the page body with a listing of your services
Blah Blah Blah
Blah Blah Blah




<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct="UA-xxxx-x";
urchinTracker();
</script>
</body>
</html>
Reply With Quote
  #7  
Old 08-24-2006, 05:05 PM
Dunn's's Avatar
Dunn's Dunn's is offline
LawnSite Bronze Member
 
Join Date: Mar 2006
Location: In a house, on a street
Posts: 1,548
I'm going to see if I can find the html of my page but I am using Yahoo site builder if it matters so almost everything is drag and drop. Just in case I don't figure it out if you have any suggestions on how to do it with yahoo site builder I would greatly appreciate it. Thanks
Reply With Quote
  #8  
Old 08-24-2006, 05:22 PM
davevg's Avatar
davevg davevg is offline
LawnSite Member
 
Join Date: Apr 2006
Location: Northwest NJ
Posts: 18
Disclaimer, I have never used Yahoo Site Builder

I looked at the manual to that program, and you need to go to Insert -> Code Elements -> HTML

Here's the manual I found (Look at Page 461):
http://us.dl1.yimg.com/download.yaho...manual_2-2.pdf
Reply With Quote
  #9  
Old 08-24-2006, 08:01 PM
Dunn's's Avatar
Dunn's Dunn's is offline
LawnSite Bronze Member
 
Join Date: Mar 2006
Location: In a house, on a street
Posts: 1,548
Quote:
Originally Posted by davevg
Disclaimer, I have never used Yahoo Site Builder

I looked at the manual to that program, and you need to go to Insert -> Code Elements -> HTML

Here's the manual I found (Look at Page 461):
http://us.dl1.yimg.com/download.yaho...manual_2-2.pdf
Thanks I tried that now too we will see if it worked tommorow I also clicked on the html link and put it in the head so we will see if that works I did that before you wrote and was gonna try what you said next. thanks again and good luck to me I will post an update tommorrow.
Reply With Quote
  #10  
Old 08-25-2006, 03:39 PM
Dunn's's Avatar
Dunn's Dunn's is offline
LawnSite Bronze Member
 
Join Date: Mar 2006
Location: In a house, on a street
Posts: 1,548
I'm not sure which one did it but it is working now thanks for the help guys.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump





Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2012, LawnSite.comô - Moose River Media
All times are GMT -4. The time now is 04:22 AM.

Page generated in 0.10606 seconds with 9 queries