StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > StatCounter.com > Help

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 08-23-2005, 10:20 AM
webmaster-igb webmaster-igb is offline
Junior Member
 
Join Date: Aug 2005
Posts: 3
Default Frames : my referring URL is always my frameset page

Hello,

I built my site with frames but I have a problem with the green link "referring URL" in my "Recent Visitor Activity" page : it is almost always my site's URL : www.bogdanov.ch ! Sometimes it is "no referring link", sometimes other pages amongst the frameset : http://www.bogdanov.ch/Barre-titre.htm or http://www.bogdanov.ch/Barre-menu.htm ...

I thought that it was because I had put the code statcounter.com only in my page http://www.bogdanov.ch/Accueil.htm (as it is said in the help pages), so I put it also in the index.html page and these pages : http://www.bogdanov.ch/Barre-titre.htm and http://www.bogdanov.ch/Barre-menu.htm , but nothing has changed (except the number of page loads, of course !).

So, please explain me what I can do in order to know where my visitors come from ! I hope my question is comprehensible, I know my english is bad

Thanks a lot,
Laurence
  #2  
Old 08-23-2005, 11:52 AM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,172
Default

You must use the "frames" version of the counter on the individual pages. You have that option during Install Code.

The framesetter page itself should not have the counter except possibly as you have it, in the <noframes> section, and in that case it should be the regular one, just as you installed it there.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
  #3  
Old 08-24-2005, 11:55 AM
webmaster-igb webmaster-igb is offline
Junior Member
 
Join Date: Aug 2005
Posts: 3
Default

Quote:
Originally Posted by chrisooc
You must use the "frames" version of the counter on the individual pages. You have that option during Install Code.
Thank you for your answer, but I don't understand well : do you mean that the code I've copy-pasted in the pages of my site is not the right one ? But I've verified, it's the one I got after I had coched the case "Yes, my website uses frames" !

Quote:
Originally Posted by chrisooc
The framesetter page itself should not have the counter except possibly as you have it, in the <noframes> section, and in that case it should be the regular one, just as you installed it there.
I knew that I shouldn't have put the counter in this page and that it could make the numbers wrong, but I thought that so I could see the pages which my visitors came from, and it's more important for me than getting very precise numbers...
But anyways, it still doesn't work ! And so, you mean that the code I've on my framesetter page is for the sites without frames ??? So what is the difference between both codes, and what must I do to get the right code ?

Thank you a lot if you can help me again for that !
Laurence
  #4  
Old 08-24-2005, 02:45 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,172
Default

The main difference between the "regular" code and the "frames" version of the code is the notion of referer. That's a javascript implementation. For framed pages the actual javascript referer is always the framesetter page, therefore what is used instead is the parent referer rather than that immediate referer.

From what I see the wizard generates the code correctly as long as you provide the correct answer to the prompts. Perhaps you missed it when you did.

At this point what you can do is either regenerate the code correctly and reinsert it on your pages, or simply go and edit what you already have on each page and replace ".../counter.js " by ".../frames.js" in the javascript of the code you have. This has to be done to the code on all your framed pages.

One other thing. You have to designate which of your frames actually contains the meaningful pages you want tracked. The page displayed in a frame that remains constant, like a menu or title bar should not carry counter code, it should be the pages that get displayed in the frame that changes only.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
  #5  
Old 08-24-2005, 05:33 PM
webmaster-igb webmaster-igb is offline
Junior Member
 
Join Date: Aug 2005
Posts: 3
Default

I did what you said and it works !

Great, thank you a lot for your ability and your kindness !

Laurence
  #6  
Old 08-24-2005, 05:45 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,172
Default

You're welcome. Glad to have helped.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
Closed Thread

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


All times are GMT. The time now is 09:13 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.