I want to count stats for logged-in users
-
I want to track stats whether users are logged in, or not.
I’m happy to hack the php code to achieve this, but am not exactly sure where to do it.On line 87, this look like a candidate to change:
function stats_footer() { global $wp_the_query, $current_user; $options = stats_get_options(); if ( !empty($current_user->ID) || empty($options['blog_id']) ) return;
If I remove the !empty($current_user->ID) || it might achieve the goal, but not sure if that has other consequences.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘I want to count stats for logged-in users’ is closed to new replies.