Foro de usuarios de phpTrafficA
 
Página principal de phpTrafficA
 
Por favor, ¡haz tus preguntas en inglés o francés!. La ayuda en otros lenguajes puede ser lenta.
Russian speaking users can find Russian discussions on phpTrafficA at ru-board.com
 
Operaciones:  Lista de temas Lista de temas  Nuevo tema Nuevo tema  Responder en este tema Responder en este tema
Buscar 
Búsqueda avanzada
Tema "Great program! But... ;)" Comenzado por Niclas el: 01/11/2006 13:17
Página actual: 1 de 1 Ir a página: 1
Great program! But... ;)
Enviado por: Niclas  el: 01/11/2006 13:17
Great freeware program, maybe this will save me $20/month if I don't have to buy: http://www.opentracker.net/ which also is an amazing tool.

It looks like your script and opentracker have about the same abilities, but I think you should check out how they have done and get some inspiration.
phpTrafficA maybe looks a little "rough and unstyled" in some ways. It could use a bit smaller fonts to allow better overviews. No offence though! :)

What I was looking for and didn't find in any other free tracking program is the ability to track the users path. This is very interesting.

Here are some suggestions that you could consider by watching the opentracker demo:

- Visitor clickstream (Check Online and recent visitors and click a user). It looks neat and compact.
- Companies/organizations (Where do they get this info from..?)
- Forecast (Based on history)


Other:
- Order tables by column heads (For example, what country is most popular this month? I can only see the total)
- Use % font-sizes, so I can change it with my browser?
- Customize the CSS (Probably it's possible already?)
- Why are the hostnames, pages, referers, agents separated by spaces like "border .rocleiden .nl" ?


Well, I can go on forever, but I will spare you. I'm very happy that this program is recently updated so I guess I'll see an even better program in the near future! :)

Thank you, I'll now test the program a little deeper! :)

-niclas
Ad
Re: Great program! But... ;)
Enviado por: Butchu  el: 01/11/2006 15:22
Well, first of all, thanks for those comments. They are very helpful! Anyhow, here is an answer to your suggestions, I'll try to follow them one by one.

- improve the UI, it's rough and unfinished: totally true! However, it's a lot of work and requires testing on many browsers (especially the @I*$# versions of IE). My plan is to improve features for the future 1.4 version and work on a new UI for a 2.0 version.

- visitors clickstream: we have it already, I think. Have a look at "Latest visitors" -> "Path".

- Companies/organizations: I do not like this feature for performance reasons. At the moment, phpTrafficA is working with IP addresses only and does not need the host name corresponding to the IP address (except if you call the details for latest visitors, that's why this page is so slow). Finding real host names from IP is VERY SLOW!

- Forecast: I was thinking about it. It should be in the next version.

- Order tables by column heads: great idea. Why did I not think of it earlier!

- Use % font-sizes, so I can change it with my browser: it used to be the way, but I had a lot of complaints on fonts... Many unexperienced users never set their font correctly, therefore, your site looks like shit... Maybe I'll try to go back to % font-sizes in the next version, but I have to test...

- Customize the CSS: well, at the moment you have to edit the CSS file yourself. You can! I could add some options to change the default CSS...

- Why are the hostnames, pages, referers, agents separated by spaces like: if you remove the spaces, the lines can not be broken and this table looks even worst than in does now...

I think that's it. And again, thanks for the suggestions!!
Re: Great program! But... ;)
Enviado por: nicmar  el: 08/11/2006 20:48
So I'm back again with a huge post. Go grab a cup of coffee! ;)


1. There shouldn't be very much problems with IE/Firefox etc on this kind of page. It's mostly tables in divs. You just have to study CSS some more. I've been fighting with making pages work on PC/MAC IE/Firefox/Safari/Opera and more.
A problem I can see clearly is that you use percent (%) for div widths, which makes the right part of screen fall down when changing window size.
I think we gotta look a little more on opentracker and how they designed it. I think it's a good design.


2. Visitors clickstream - I know you have it, and it is good, except I find the floated boxes a little weird to read and follow, they're all different sized.
What I meant was, look at opentracker about this. It's very clear. Doesn't use very much space, and also uses titles to show pages instead of URL's (It's an option).
Is this possible in phpTrafficA?
For me it would be a problem, cause my pages aren't named, but they really should be, very useful for search engines and to follow stats, so I'm gonna name them.. soon :)


3. "Companies/organizations: I do not like this feature for performance reasons".
Is the info possible to get from somewhere? It must be something more than just host name, I think?
On opentracker they display this about me:
Sweden, Helsingborg (skåne län), which is my city and part of the country, and all i get by nslookup my IP is "c83-249-159-37.bredband.comhem.se".
How do they know that? And when I'm at work, they know that my ipadress belongs to the company i work on. If I resolve it, i get "host-227.bjuv.se",
but they spell out "Bjuvs kommun".

One idea I got on this was to have a list that gets updated maybe once an hour or something like that, so it doesn't resolve it at the same time as it saves data. What do you think about this?

The problem is still how they find out more information about everything. Maybe there's some list somewhere that we can use?


4. Forecast, maybe it's not really that important now that I think of it :) But if it's easy to do, then why not!


5. About font sizes. It's better to have a small font which gives better overview. But I guess you have that already :)


6. About customize CSS, i think the best way is to have a separate CSS to override your options, and make it load after yours. That way my CSS don't get messed up on updates.


7. "Why are the hostnames, pages, referers, agents separated by spaces like: if you remove the spaces, the lines can not be broken..."
This gotta be fixed somehow.. I really think the "agent" is kinda unneccesary information on the "Latest visitors" page.
It would be better to have a shortversion or an icon. And a mouseover-function to display details if necessary.
Opentracker (I know, i talk about them alot:) has an icon which you mouseover, and get a lot of information.
This makes it clean and uncluttered.
See (http://www.opentracker.net/en/demo/demo1.jsp)


So, now I have some more questions when been using it for some days:


8. I set the cookie, but i still get tracked and I see no "Admin" text on tracked pages..?

9. It would be good to be able to choose a period for any stats. For example "keywords" page, I'd like to see each day, which keywords are popular, to see if any keyword gets an increase.
I would like a summary for November, December, 2006, Some days, etc... have I missed this function or is it not there?


10. Referrers seems to show wrong information. All i get is one referrer "index.php", but on "path" page i see much more info, lots of different referers,
both from google and from other sites. What's wrong?


11. Is it possible to somewhere set "ignore pages which match ***". I have some pages that generates a random querystring rrx=8561856218715687615876,
it's a "trick" to prevent IE from caching pages when I redirect. I need to have full querystrings, cause all pages go from index.php. These pages do not need to be tracked at all.
If I could block some pages from getting listed I wouldn't get a lot of nonsense pages with only one visit.


12. I tested the service "watchmouse" and they test my site from lot's of different countries, but I didn't think of that, and was suprised to have so many visitors to my site.. But I guess it's possible to add this one to "Search engines" list, and it's removed, right? :)


Well.. I must be your most demanding customer, and you don't even get any money for this. Hope you still enjoy my comments!

I'm interested to help you develop a better interface and more functions in the future, if you need more feedback and ideas. I'm full of them! :)

Have you sold this service to any companies? I mean, not the source code, but the service to help them install and use it, or host it for them. I think some of my customers
would appreciate it, and I think I could sell the service according to the GPL, right?

You should too, in your country! Where do you live and work with except for this by the way? :)

Thanks, from nicmar, SWEDEN :)
Re: Great program! But... ;)
Enviado por: Butchu  el: 11/11/2006 12:34
Long question, long answer!!!

1- Using percent for CSS divs and table: true, it's a problem with IE (hopefully fixed with IE7). One solution is to wrap everything in a table...

2- size of boxes with visitors clickstream: I know, but it's a pain in the ass to get the right size for every browser on earth, so I gave up! Using page title could be an option, but would take some coding (phpTrafficA does not store page titles at the moment, but it could be easily implemented).

3- Companies/organizations: you really need a huge database to do this. Opentracker does it because they process the info on their servers and can afford to have 300/400Mb of database for this info. phpTrafficA is supposed to be installed locally and I would like to keep its size fairly small. The IP to country DB is already 2.5 Mbytes large...

4- Forecast: I'll work on it for the next version.

5- and 6- Font size/ CSS: separate CSS to override your options: very good idea! I'll think about it!

7- Rewrite the page for latest visitors with icons and hover: good idea. This page has not been changed since the very first version of phpTrafficA (it was the first one actually!)...

8- Problem with cookies: it happens when the address you used to set the cookie is different from the one used to record statistics. See this thread: http://soft.zoneo.net/phpTrafficA/forum.php?mode=thread&thread=125
I should include it the FAQ...

9- See stuff like, each day, which keywords are popular, to see if any keyword gets an increase and so on: it is not possible... This information is lost when phpTrafficA stores keywords and referrer (to save space and calculation time). The only thing we have is: keyword and search engine, page they point to, first time they were detected, last time they were detected, and how many times they were used.

10- Referrers do not include search engines... In my logic, referrers are sites that have a real link to you, not a search engine... You're not the first person to point this out. I'll think about it.

11- Ignore pages which match ***: could be implemented, if I find time!! The list of changes for the next version is huge!!

12- You would have to add their browser identification to the list of browsers as a "Crawler". But it would still be counted at the moment. Removing crawlers from statistics is planned for the next release.

I'll definitely make calls when time comes to design a new UI for phpTrafficA, but at the moment I'd like to concentrate on features. I'm not making any money from phpTrafficA so it's not always easy to find time for it! I know of only one "commercial" service that uses phpTrafficA, but there may be more... It's hard to know with this king of package. I was thinking to start something myself (for people who do not want to install phpTrafficA) but did not get to it yet...

You can sell services based on phpTrafficA, but any modification you make to the code must be made public. Also, you should send them to me, so I can include them in the next release. Also, if you end up making money with it, consider supporting the original site!!!

Anyway, got to go. I'm based in France by the way, but I have spent many years in Japan and the US...
Re: Great program! But... ;)
Enviado por: Niclas  el: 11/11/2006 20:37
Thanks for the comments.
If I make any changes I'll post them to you but I have lots to do to, so maybe it'll take a while before something happens :)

Just send me an email on the above mail if you need to contact me in the future.

I'll be back! ;)
Re: Great program! But... ;)
Enviado por: vktRus  el: 17/11/2006 10:41
Title Page For phpTrafficA | 17_nov_2006
ver. 1.0
programmer Tchapliev V. http://viktor-tch.narod.ru
Russian support http://22a.ru/

#
#-----[ OPEN ]------------------------------------------
#

write_logs.php

#
#-----[ FIND ]------------------------------------------
#

if ($sites[$sid]['trim']) {
$To = $_SERVER["PHP_SELF"];
} else {
$To = $_SERVER["REQUEST_URI"];
}

#
#-----[ REPLACE WITH ]------------------------------------------
#

// if ($sites[$sid]['trim']) {
// $To = $_SERVER["PHP_SELF"];
// } else {
// $To = $_SERVER["REQUEST_URI"];
// }

####### For static pages. ############

Somewhere in your code of pages, include the following lines:

<?php
//
// $sid - site id
// $To - title
//
$sid="777777";
$To = "My page";
// For cirillic and page in win1251
// $To = "Моя страница";
// $To = iconv("Windows-1251", "UTF-8", $To);
include("/full_patch/write_logs.php");
?>

#
#-----[ OPEN ]------------------------------------------
#

.htaccess

#
#-----[ ADD ]------------------------------------------
#

RemoveHandler .htm
AddType application/x-httpd-php .php .htm .html .inc


########### For dinamic pages. ##############

phpTrafficA and PHPbb

Ever wondered how to integrate the stats program phpTrafficA with your PHPbb board? Well, here is the solution.
The main “issue” with phpTrafficA is that it requires a small script on every page that you want counted. On a good forum, there could be hundreds of topics, so stat tracking seems impossible (each would require its own script with specific title). But, alas, it isn’t. Track your PHPbb board, insert the following snippets of code (let’s assume you install phpTrafficA in home/public_html/phpTrafficA/).

#
#-----[ OPEN ]------------------------------------------
#index.php of your PHPbb installation

index.php

#
#-----[ find ]------------------------------------------
#

include($phpbb_root_path . 'common.'.$phpEx);

#
#-----[ after it paste ]------------------------------------------
#

//
// $sid - site id
// $To - title
//
$sid="777777";
$To = "Forum main";
// For cirillic and page in win1251
// $To = "Форум главная";
// $To = iconv("Windows-1251", "UTF-8", $To);
include("/full_patch/write_logs.php");

#
#-----[ OPEN ]------------------------------------------
#

viewtopic.php

#
#-----[ find ]------------------------------------------
#

$topic_time = $forum_topic_data['topic_time'];

#
#-----[ after it paste ]------------------------------------------
#

//
// $sid - site id
// $To - title
//
$sid="777777";
$To = $topic_title;
// For cirillic and page in win1251
// $To = $topic_title;
// $To = iconv("Windows-1251", "UTF-8", $To);
include("/full_patch/write_logs.php");

#
#-----[ OPEN ]------------------------------------------
#

viewforum.php

#
#-----[ find ]------------------------------------------
#

include($phpbb_root_path . 'includes/page_header.'.$phpEx);

#
#-----[ after it paste ]------------------------------------------
#

//
// $sid - site id
// $To - title
//
$sid="777777";
$To = $page_title;
// For cirillic and page in win1251
// $To = $page_title;
// $To = iconv("Windows-1251", "UTF-8", $To);
include("/full_patch/write_logs.php");


That’s it! You will now have a dynamic list of stats for each forum topic.
phpBB
Enviado por: Jeff  el: 04/04/2008 1:37
Has anyone gotton this script to work with phpBB pages like index with the "No image (local site only)" version?
I get you a coffee!
Enviado por: Butchu  el: 31/08/2014 5:10
Gee, I really liked this answer! I want to thank you and I buy you a coffee!
Página actual: 1 de 1 Ir a página: 1
Forum powered by FreeForum
© 2004-2010 ZoneO-soft - Spanish translation by Samuel Aguilera, www.samuelaguilera.com
phpTrafficA homepage in: English - Français - Русский - Deutsch - Español - Nederlands - Romaneste - Svenska - Italiano
Also available at ZoneO: freeForum -- phpTrafficA -- Linux-tips -- Unixtime Online -- PageRank online
Page generation: 0.087 sec