
Hello,
Just installed the Lite on a one page website. It tracks a link to a PDF well, but no hits for the Home page itself. Checked everything.
Metatraffic interface works, everything seems ok, but the tracking data for the home page never shows. Used javascript code. Version 2.20
Thanks.
Can't track homepage index.htm
Just spent time debugging and:
Is Metatraffic 2.20 BETA????
If I place the same tracking code in a test.htm page, it works !
But if it is in my index.htm it doesn't..........
Why ?
My
Can't track homepage index.htm
And on top of it:
it works if I rename the index.htm to index2.htm and acces it directly.
So it seems it won't work in the default document????
What, do I have to do?
IIS5 on Windows 2000 server
Thank you,
Can't track homepage index.htm
Further investigations show:
If calling the index.ht directly such as:
www.domain.com/index.htm
It works!
But when using the default doc in IIE:
www.domain.com
Not working, but javascript code seems to be executed.(fake image gets loaded and is on the page, prooving the :
document.write ('');
lines are executed...
Can't track homepage index.htm
Further testing:
did a:
document.write (scriptlocation + '?' + pagedata);
and the result is:
'/metatraffic2/track.asp?mtpt=Filo%205%20%3A%20Accueil&mtr=&mtt=2&mts=1280x960&mti=1&mtz=0.8974850093173072'
The result is the same whether the page is called by default of explicitly, but of course, the stats are only added to the metatraffic stats only when the file is called explicitly : http://domain.com/index.htm
I wonder?
Can't track homepage index.htm
It seems like its tracking, just not putting the page name in there for you. If the page name is not specified in the URL it won't display in the reports when using the javascript tracking method. This is where the default doc configuration variable is used; by default this is blank. Based on your posts below, you need to change this to index.htm and this should fix your problen.
~Chad
Can't track homepage index.htm
Hello,
Thanks, but had already tried that:
Default doc: '' ---> No tracking
Default Doc: 'index.htm' ---> still no tracking
Just went to check in the DB, no entries for visits that do not track. Only found entries for visits that explicitly call index.htm. I can watch this real-time!
I find it a bit time consuming to debug this.
Any ideas?
Can't track homepage index.htm
PS: If you look in my previous post, the page tite is in the 'pagedata' string going to track.asp, just no entry to the DB.
Can't track homepage index.htm
I can't see any reason why it would matter whether the default document or not was called. Unless you are getting javascript page errors from the javascript tracking code which is unlikely. I assume when you load the track.asp file directly in your web browser, it tracks correctly?
Can't track homepage index.htm
Yes, the track.asp will track correctly.
No, no Javascript errors whatsoever.
I temporarly did a redirect from the index.htm to main.htm, and main.htm is tracked ok.
I would be great not to have to redirect.
I guess the redirect causes the referal to be local and lost.
Thanks,