PHPee.com PHP development forum
No stats for Domains, Territories, Search Engines & Keyw

 
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support
View previous topic :: View next topic  
Author Message
heartoh



Joined: 28 Jun 2004
Posts: 5

PostPosted: Wed Jun 30, 2004 3:54 am    Post subject: No stats for Domains, Territories, Search Engines & Keyw Reply with quote
Well I have set up for my site but am having problems with a few things. I have searched for solutions, tried several and even reinstalled 3 times without any success. I would really appreciate some help with this. Everything (multipage, visable counter etc) except for the following:

The problems: I do not get any stats for
Top 30 Domains
Territories Unique
Top 20 Search Engines
Top 40 Keywords

My setup:
My site URL is www.hearts-of-hope.org - you can view the log (as guest) via the "site vistors" link on the entry page. pphlogger resides on the same server as my site in hearts-of-hope.org/visitors/ directory. I have tried all three implementation (PHP, PHP&JS and standard) with the same result. The following code has been added to the bottom of each page i am tracking:

Code:






and I uploaded the js file (below) to the directories that hold the pages

Code:
/* -----------------------------------------------
   POWER PHLOGGER - v.2.2.5
   (c) 2000-2003 phpee.com
   contact:
  ------------------------------------------------ */

// ----------------------------------------------------------
// SETTINGS:
// here should be your username you received from www.hearts-of-hope.org
// Do not edit this file manually!! Use the one you got in your
// confirmation-email or the one from PowerPhlogger's settings
// section.
   id = "tryagain";
// If you're using a frameset and are not getting correct
// referrers, please uncomment the following line:
   // pp_frames = true;
// ----------------------------------------------------------


// define some defaults -------------------------------------
if(showme==null) var showme='n';
if(st==null)     var st='js';    // st means show-type


// get the user agent name ----------------------------------
v = navigator.appName;

// get the screen resolution --------------------------------
c=0;
if (v != "Netscape") c = screen.colorDepth;
else c = screen.pixelDepth;

// get the screen size --------------------------------------
s = screen.width+"x"+screen.height;

// get the document's title ---------------------------------
t = escape(document.title);

// get the document's referrer -------------------------------
var f = "";

// if pp_frames is true then try getting the framed referral (without error checking)
if (typeof(pp_frames) != "undefined")
   if (pp_frames)
      f = top.document.referrer;

// get the referral for non-multi-domained-framed sites using a Netscape browser
if ((f == "") || (f == "[unknown origin]") || (f == "unknown") || (f == "undefined"))
   if (document["parent"] != null)
      if (parent["document"] != null) // ACCESS ERROR HERE!
         if (parent.document["referrer"] != null)
            if (typeof(parent.document) == "object")
               f = parent.document.referrer;

// get the referral for the current document if a framed referral wasn't found
if ((f == "") || (f == "[unknown origin]") || (f == "unknown") || (f == "undefined"))
   if (document["referrer"] != null)
      f = document.referrer;

// convert all the unknown's into blank
if ((f == "") || (f == "[unknown origin]") || (f == "unknown") || (f == "undefined"))
   f = "";

// escape the referral
f = escape(f);

// getting data ready to send -------------------------------
r="?id="+id+"&referer="+f+"&r="+s+"&c="+c+"&showme="+showme+"&st="+st+"&title="+t;

// adding logid if called by st='phpjs'
if(jslogid==null) var jslogid = 0;
else r = r + "&jslogid="+jslogid;


if (st=='js') { // calling PowerPhlogger by JavaScript-tag
   if (v != "Microsoft Internet Explorer") {
      r = r+"&url="+document.URL; // $HTTP_REFERER problem with NS,...
   }
   document.open();
   document.write("");
   document.close();
} else { // calling PowerPhlogger by IMG-tag
   rand = Math.round(1000*Math.random());
   r = r+"&b="+rand;  //force the page to load the IMG
   document.open();
   document.write("\"\"");
   document.close();
}


Thakx in advance
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 734
Location: London, UK

PostPosted: Wed Jun 30, 2004 10:38 am    Post subject: Reply with quote
I think there's a logical explanation to your problem(s).
It looks as though the log IP's haven't been processed to resolve territories and domains.

The reason why you don't have any keywords is because no search engines have been logged as arriving at your website.
That also explains why the search engines don't show Smile

If i were you, i would let the logger run for a few days and see how it evens out. You can't expect fantastic results after only 2 days of usage.

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
heartoh



Joined: 28 Jun 2004
Posts: 5

PostPosted: Wed Jun 30, 2004 11:30 am    Post subject: Reply with quote
G'day David,
Thanks for your prompt reply. I wasnt really expecting "fantastic results" but am just concerned that something isnt right. I track over 100 pages with pphlogger (hosted by someone else) and want to make sure everything is working properly before I convert everything to my own setup. A couple of questions about your comments:
Quote:
It looks as though the log IP's haven't been processed to resolve territories and domains.
Why? Is this normal behavior or is their something I need to fix? I never noticed this when I setup with my hosted service - I am pretty sure it started logging straight away.
Quote:
The reason why you don't have any keywords is because no search engines have been logged as arriving at your website.
That also explains why the search engines don't show

I can see the logic in this but there has been one search engine hit:
Am I right in thinking that what you are saying is it takes some time for pphlogger to process these hits before they show up in the stats?

Thanks again
Back to top
View user's profile Send private message
heartoh



Joined: 28 Jun 2004
Posts: 5

PostPosted: Wed Jun 30, 2004 12:08 pm    Post subject: No stats for Domains... [Resolved] Reply with quote
Ignore my last post. Right after I submited it, I checked the stats.... and there was all the 'missing' information.

Thankx again
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 734
Location: London, UK

PostPosted: Wed Jun 30, 2004 5:43 pm    Post subject: Reply with quote
From my understanding of the software, all of the stats are cached to prevent excess load on the server.
I'm guessing at certain points, the cache is updated and the new information will show. Smile

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8
Theme design based on Team 101 Designs, modified by Philip Iezzi