Welcome to WebmasterWorld Guest from 54.167.0.111

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Finding direct/none in the server log files?

How can I find in my logs information about clicks reported as direct/none?

     

hanan_cohen

10:15 am on Aug 2, 2012 (gmt 0)

10+ Year Member



Hi,

I have a surge of page views reported by Google Analytics as coming from "direct/none".

I wanted to check my raw server logs and learn more about those.

I have extracted lines containing "-" in the referrer column. Removed lines containing "bot" and "crawler" and was left with very few lines. Most of those lines are irrelevant.

So, how can I find those direct/none pages?

Thanks,

Hanan Cohen

lucy24

5:29 pm on Aug 2, 2012 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



Do you have Analytics installed on every single page? I tripped over a similar issue in Piwik after realizing that "direct entry" doesn't always mean direct entry. It can also mean that the person came from any page elsewhere on my site that doesn't have analytics code. In my case it meant I had to add the code to the front page, which functions purely as a transfer point so there's no point in tracking it for its own sake.

Picking out non-robot visits with blank referer is the right way to do it. Depending on your server and other obscure variables it might come through as either "-" or a completely empty "" so make sure you're getting both. You may also need to screen for spaces on both sides of "" to get rid of search queries containing literal question marks.

hanan_cohen

9:18 am on Aug 12, 2012 (gmt 0)

10+ Year Member



OK, I have found the problem.

Our advertising agency is using a third-party server that display ads on different sites. A correct referrer value looks like this:

aka-cdn-ns.somesite.de/apps/107/Ad7963755St3Sz1085Sq102862503V0Id1/Specific_Target_720x300.swf?targetTAG=_blank&clickTarget=_blank&pathTAG=http%3A//aka-cdn-ns.somesite.de/apps/107/Ad7963755St3Sz1085Sq102862503V0Id1/&closeTAG=javascript%3AcloseAdLayer3922521%28%29&openTAG=javascript%3AopenAdLayer3922521%28%29&expandTAG=javascript%3Aexpand3922521%28%29&collapseTAG=javascript%3Acollapse3922521%28%29&clicktarget=_blank&clickTarget=_blank&clickTARGET=_blank&CURRENTDOMAIN=adserver.somesite.de

Somehow, I have more than 10k lines in the server log file that have a referrer value that looks like this:

aka-cdn-ns.somesite.de/apps/169/Ad7936681St3Sz154Sq102861060V0Id11/Specific_Target_160x600.swf?targetTAG=_blank&clickTarget=_blank&pat

They are truncated somewhere in the middle.

Naturally, Google Analytics don't know what to do with them.

I don't know whose fault it is, their server or mine but now I know what to look for.

Thanks for your help,

Hanan Cohen
 

Featured Threads

Hot Threads This Week

Hot Threads This Month