HomeNotesAdding yahoo page statistics code.
1412 days ago in 
Reactions: 5 comments 1 points0 reports
 
 

Adding yahoo page statistics code.

Hi there,

I want to add yahoo page statistics code to my dolphin PHP pages. Yahoo has given the following code that they say should be inserted at the bottom of PHP pages. Here is the code;

<!-- Counter/Statistics -->
<script language="JavaScript"
src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js">
</script>
<script language="javascript">geovisit();</script>
<noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?time"
alt="setstats" border="0" width="1" height="1"></noscript>

I added the code to the index page and it caused a problem and the index page could no longer be accessed. Is there something more I need to know or do than simply adding the code to the bottom?

Can I just paste it in to the bottom of the page (as yahoo says) or does it have to be inserted at a specific part of the code.

Any help you could give would be greatly appreciated.

Cheers,

Nick

Plussed by

 
 
 
 

Comments

Oldest First
|
Threaded
 
 
Please login to post a comment.
jerry79
Hi,
im using the google stats code and i putted this in templates _footer.html. Maybe it will work for you also.

Greets,
Jerry
DoLaugh
i'm using Yahoo stats and yes like what Jerry 79 said...put it in your template _footer html.

I will tell you....Yahoo is NOT a desired Dolphin host...first off they do NOT allow the use of .htaccess file and they also will not allow you to update the php.ini file....and along with that ...they have the globals setting to ON...which makes you very hacker suceptible.

You sure you want to stay with Yahoo? I'm researching a Dolphin script friendly Host.

Dolaugh
nas
Thanks a lot for your help. I am going to give it a go now.

I didn't want to use yahoo but they are one of the few hosts that you can pay monthly. I really didn't want to pay a big upfront cost.
DoLaugh
Nas,,,,just be aware, yahoo does NOT allow you to edit your php.ini nor do they allow you to upload and use .htaccess files. These files are extremly important for security and to allow Dolphin to operate correctly. They also have the globals settings to ON...instead of the default Off. Your site could very easily be hacked...don't say you were not warned about Yahoo Hosting deficiencies! I do wish you the best of luck!

Dolaugh
TheGateKeeper
I am new here in Unity This topic has been very informative!!
 
 
 
PET:0.051275014877319