TraceWatch Website Statistics

Google Web TraceWatch.com

How to log page titles

Anything About TraceWatch

How to log page titles

Postby bocha » Tue Apr 20, 2010 8:41 pm

Hi

Just installed twatch and everything is working fine. But I can't find out is it possible to log and show in statistics page titles instead of URLs ? Website I need to analyze has ugly URLs - long strings with letters and numbers therefore only page titles can make statistic look readable. Twatch is highly customizable but I can't find such option. Seems that page titles aren't logged. Can I somehow add them to statistics ?
bocha
 
Posts: 7
Joined: Tue Apr 20, 2010 8:29 pm

Re: How to log page titles

Postby arash » Fri Apr 30, 2010 8:08 am

You can use the $data argument of the twatchLogRequest function to override the 'page' value and change it to page title.

I personally rather make a new entity called "Page Title" and a grouped counter for the current "Page" entity (urls) grouped by "Page Title". This is a little complicated and you need to read the advanced doc thoroughly to learn how to do it.
arash
Site Admin
Site Admin
 
Posts: 385
Joined: Thu Oct 08, 2009 2:09 pm

Re: How to log page titles

Postby bocha » Tue May 18, 2010 7:52 pm

Thanks for answer but still can't manage get it working :(
I'm trying to use complex method using entities. Created entity Title with data key title. Created list counter Titles for this entity. Modified javascript to pass document title in twachData array. Checked with sniffer that data is really passed with request like that: page=http%3A%2F%2Fwww.mysite.com%2Fintra%2Fproducts%2Fxyz.htm&title=Trahtebedah&website_id=intranet.
But twatch isn't counting my titles. Diagnostic in Entities page shows Titles 0 rows, 0Bytes.
Shouldn't it work in such way ?
Also created grouped counter as you suggested but can't add it to Stats page, doesn't have any group to select.
Any suggestions please ?
bocha
 
Posts: 7
Joined: Tue Apr 20, 2010 8:29 pm

Re: How to log page titles

Postby arash » Sat May 22, 2010 9:39 am

Unfortunately you can't pass custom data to TraceWatch using the javascript code (actually you can but the receiving php file doesn't understand it). I have already added this feature to the new version which will be ready and released soon. You should either wait or use the PHP code.
arash
Site Admin
Site Admin
 
Posts: 385
Joined: Thu Oct 08, 2009 2:09 pm

Re: How to log page titles

Postby bocha » Fri May 28, 2010 7:03 pm

Thank you. I'll wait for your new version. Can't use PHP on this remote server.
bocha
 
Posts: 7
Joined: Tue Apr 20, 2010 8:29 pm


Return to General Talk

cron