PDA

View Full Version : Referring URL not working!


elgordo
02-02-2005, 10:58 PM
Hits originating from a link from another site are showing up in the stats as No referring link. have I set something up wrong?
Ta, Gordon.

webado
02-02-2005, 11:25 PM
Hits originating from a link from another site are showing up in the stats as No referring link. have I set something up wrong?
Ta, Gordon.
LOL! You're using the HTML only code, this cannot track referrer, or any url for that matter, nor screen resolution. Those items are only trackable by javascript.

If you want full stats, get the full regular code.

But, your other problem is that you will not get any referrer other than your own domain name, since your site is shown in a frameset by your domain registrar.

Unless you get proper hosting that can give you domain name servers so as to be able to point a domain properly to your web space, you will be stuck this way.

elgordo
02-03-2005, 08:48 AM
Thanks chrisooc, for your speedy reply, I will get proper hosting to solve part of the problem, my main problem is that I'm a complete dunce it web design.

Those items are only trackable by javascript.

If you want full stats, get the full regular code.

These points I don't understand, I will have to do some reading!!

Ta V much
Gordon!

webado
02-03-2005, 01:33 PM
Well, it's simple. If you generate the "full" regular code, you will notice there are 2 sections: one that involves 2 javascript steps and one comprised between <noscript> .... </noscript>, which is what is referred to as the html-only code (<noscript> means it is executed if javascript is not enabled, thus leaving only html possible).

If you generate the html only code you only get that which would otherwise be between the <noscript> and </noscript> tags, but without those tags.

The javascript scripts are what can get the information on referrer, page title and screen sizes. The html portion, which uses php, cannot. This is because of some inherent differences between javascript and php.

elgordo
02-04-2005, 11:41 AM
Sorry, but what is the "Full regular code" how do I generate it and where do I put it??
Thanks,
Gordon!

webado
02-05-2005, 03:02 PM
The fulel regular code is what is generated when you select nothing in particular from Install counter, it's what it starts with.

Of course the code has to be inserted into your page at some place that suits you between the <body> and </body> tags. You must work in html code view mode or using Notepad.

elgordo
02-06-2005, 01:33 PM
So do I have to remove the existing code, reinstall the counter and select nothing in particular. Then will I have the full regular code??

webado
02-06-2005, 04:54 PM
Yes.

1. Remove the current code from your pages.
2. Go back and generate new code from Install Counter and pick no options at all - the code appearing on that page when you first get there is the full regular code.
3. Copy this code to your clicpboard and insert it into your pages using Notepad or whatever editor you are using in html code view mode, not layout mode.
4. Save and then upload to your web site.