Welcome to WebmasterWorld Guest from 54.167.194.59

Forum Moderators: open

Message Too Old, No Replies

Google Analytics and Frontpage

Big site

     
10:40 pm on May 18, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 6, 2003
posts:105
votes: 0


I finally was approved for Google analytics now I am ready to start adding it to my sites. My site has grown relatively large and it would be very tedious for me to open each page and paste the code right before the closing body tag. Are there any secrets or shortcuts that may be of help to me?

I apologize if this has been asked before - my search turned up many hits on Google + Frontpage and several other terms - none seemed relevant.

Thanks

3:54 am on May 19, 2006 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14659
votes: 66


This is a good job for FrontPage Includes [webmasterworld.com] if you had them setup already. If not, then FP's Find & replace should do it for you.
5:20 pm on May 21, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 6, 2003
posts:105
votes: 0


Thanks Bill! I missed out on the Frontpage includes but you can rest assured I will incorporate them into my new site.
So - Should I find </body> and replace with <google code></body>?
Is it as simple as that?

Thanks again..

9:11 am on May 22, 2006 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14659
votes: 66


So - Should I find </body> and replace with <google code></body>?
Is it as simple as that?

Pretty much. Just find a common code element in your pages that is close to where you want to put the tracking code and you're off...
3:12 pm on June 7, 2006 (gmt 0)

New User

10+ Year Member

joined:Jan 25, 2006
posts:15
votes: 0


Yeh, the only drawback is that you have to upload everypage the include update effects, you can just upload the include.
Just add :
<!--webbot bot="Include" U-Include="URLHere" TAG="BODY" startspan --> to your site where you want it. Good luck :)
6:14 am on June 8, 2006 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14659
votes: 66


Wouldn't that still involve changing every page where you wanted the include?