homepage Welcome to WebmasterWorld Guest from 184.73.119.213
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
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+ Year Member



 
Msg#: 4481206 posted 10:15 am on Aug 2, 2012 (gmt 0)

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

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



 
Msg#: 4481206 posted 5:29 pm on Aug 2, 2012 (gmt 0)

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

10+ Year Member



 
Msg#: 4481206 posted 9:18 am on Aug 12, 2012 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved