track exits still broken
track exits still broken
Hi Garvin
there must be still some sort of bug in tracking entries and exits, even with new snapshots s9y_200408171337.
Mine aren´t working
T.
there must be still some sort of bug in tracking entries and exits, even with new snapshots s9y_200408171337.
Mine aren´t working
T.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: track exits still broken
To which bug are you referring to? What is happening?
Need more input, so to say
Need more input, so to say
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
The track exits plugin has nothing to do with the Top Referrers...only the click-counting should show up for trackexits.Timbalu wrote:They don´t appear in Top Referrer and Top Exits list.
Maybe one of last changes in functions.inc ist not listing outgoing and incoming links correctly!?
T.
Do the links you create for entries get translated to exit.php?blabla correctly? What are the settings for your track exits plugin? What is your configuration setting for the "Make external links clickable?" option? What's your Blog URL so I can have a look at it?
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
No, they don´t get translated to exit.php. My settings for Referrer and Top Exits Plugin have the NO Click setting set. So it seems the translation to exit.... tonight, I´ll have a deeper look. Maybe I missed some tweaking...garvinhicking wrote:Do the links you create for entries get translated to exit.php?blabla correctly? What are the settings for your track exits plugin? What is your configuration setting for the "Make external links clickable?" option?
T.
Hi Garvin
Well, there was light delay, but....
I activated track exits, but this does not really change my problem...
Top referrer is ok, I just did not get any klicks, but the top exits is still a problem. Last entries for this in *_suppress and *_exits tables stopped (20080815..) after changes with the preg_match_all patterns in serendipity_functions.inc.php occured.
Could this be the problem? :
### serendipity_functions.inc.php
2459 function serendipity_handle_references($id, $author, $title, $text)
2460 {
2461 global $serendipity;
2462
2463 - if (!preg_match_all('@<a[^>]+?href\s*=\s*["\']?([^\'" >]+?)[ \'"][^>]*>([^<]*)</a>@i', $text, $matches)) {
2464 - return;
2465 - }
2466
2477 // remove full matches
2478 array_shift($matches);
2463 + preg_match_all('@<a[^>]+?href\s*=\s*["\']?([^\'" >]+?)[ \'"][^>]*>([^<]*)</a>@i', $text, $matches);
Could you please check if this is the correct tweak?
Thanks
T.
PS. I can´t find the function for INSERT INTO {$serendipity['dbPrefix']}exits. Is there any ??? And how does the data gets into the table ???
Well, there was light delay, but....
I activated track exits, but this does not really change my problem...
Top referrer is ok, I just did not get any klicks, but the top exits is still a problem. Last entries for this in *_suppress and *_exits tables stopped (20080815..) after changes with the preg_match_all patterns in serendipity_functions.inc.php occured.
Could this be the problem? :
### serendipity_functions.inc.php
2459 function serendipity_handle_references($id, $author, $title, $text)
2460 {
2461 global $serendipity;
2462
2463 - if (!preg_match_all('@<a[^>]+?href\s*=\s*["\']?([^\'" >]+?)[ \'"][^>]*>([^<]*)</a>@i', $text, $matches)) {
2464 - return;
2465 - }
2466
2477 // remove full matches
2478 array_shift($matches);
2463 + preg_match_all('@<a[^>]+?href\s*=\s*["\']?([^\'" >]+?)[ \'"][^>]*>([^<]*)</a>@i', $text, $matches);
Could you please check if this is the correct tweak?
Thanks
T.
PS. I can´t find the function for INSERT INTO {$serendipity['dbPrefix']}exits. Is there any ??? And how does the data gets into the table ???
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi Timbalu!
The preg_match_all thing was changed a few days ago to better match the URL. Please try to use the latest CVS/snapshot version.
The exits are, BTW, tracked via the exit.php file. It uses the function serendipity_track_url().
Regards,
Garvin
The preg_match_all thing was changed a few days ago to better match the URL. Please try to use the latest CVS/snapshot version.
The exits are, BTW, tracked via the exit.php file. It uses the function serendipity_track_url().
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Thanks Garvin. I found the function now.
But my problem still is the same. I don´t get any entries in _exits table. I just cannot find out, why?
Definitly there are links like: in my entries.
The only one working, I just found out is:
It should count, if these links get hit by users - or is this thought wrong?
Sorry for my stumbling clearness.....
T.
But my problem still is the same. I don´t get any entries in _exits table. I just cannot find out, why?
Definitly there are links like:
Code: Select all
<a href="http://www.somewhere.com/folder/index.php?id=16" target="_blank">go here</a>
The only one working, I just found out is:
If have got the latest cvs installed. Thats why I thought it was the changed preg_match_all thing.<a href="http://www.mozilla.org/products/firefox ... /#download" target="_blank">firefox browser</a>
It should count, if these links get hit by users - or is this thought wrong?
Sorry for my stumbling clearness.....
T.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi Timbalu!
I'd need to have the (frontend only, no admin) URL of your blog so I can look at how your exit encoding looks like. Then I can try to see what's going on
(You can also catch me on ICQ #4045240...)
I'd need to have the (frontend only, no admin) URL of your blog so I can look at how your exit encoding looks like. Then I can try to see what's going on
(You can also catch me on ICQ #4045240...)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Do you have an example article with a link which doesn't get tracked?
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Two examples are on my site at http://www.thecockrells.com dated Nov. 16. One that goes to an article at ktbs.com and the other is at newsmax.com. Neither have worked since I added them last night. It seemed random, like some that didn't work in the past would work one day and not the next so I hated to ask and assumed it was something I did.
Don't laugh at the articles!
Don't laugh at the articles!
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
The first entry did not get tracked correctly, because there is a break inside the anchor. I think this was fixed in the recent 0.7 release.
The second link to newsmax however should get tracked fine, right? If not, also here an update to 0.7 may help...
Regards,
Garvin.
The second link to newsmax however should get tracked fine, right? If not, also here an update to 0.7 may help...
Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/