Top 10 2.x – Tracking fix
-
All,
In case you’re noticing that the plugin isn’t tracking all visits, you could try to add this piece of code to your themes functions.php file at the very bottom. This code attempts to restore the original tracker that was used in previous versions of Top 10.
If your theme’s functions.php file has the closing php tags i.e.
?>
then add this just before the closing tag.function filter_tptn_add_counter_script_url( $home_url ) { global $tptn_url; return $tptn_url . '/includes/top-10-addcount.js.php'; } add_filter( 'tptn_add_counter_script_url', 'filter_tptn_add_counter_script_url' );
If you’re running this piece of code, I’d appreciate a bit of feedback on the quality of tracking.
- The topic ‘Top 10 2.x – Tracking fix’ is closed to new replies.