Hi Bmen,
are you using any custom plugins to allow your users to log into their dashboard? Slimstat looks for a very specific cookie that WordPress assigns to your logged in users. If that cookie is not found, Slimstat assumes your visitor is a guest.
Best,
Jason
yes,
i use my own to log-in and register.
Is there any way to fix this feature?
I could do code change if required.
Thank you for help.
Best,
Bmen
Hi,
the ideal solution would be to write a custom add-on that hooks into Slimstat’s filters to add that information to the page view, before it’s recorded in the database. You can find a list of available hooks and filters in our online knowledge base at:
https://slimstat.freshdesk.com/support/solutions/5000117177
We can help you implement this feature, for a fee.
Best,
Jason
Jason,
Do you have any example i could use it?
Is this complicated to write or simple few lines would sort out the problem?
Best,
Hi,
our knowledge base can help you with that:
https://slimstat.freshdesk.com/support/solutions/articles/5000650145-my-first-slimstat-add-on
Please note that slimstat_filter_pageview_stat is exactly the filter you need for your specific situation. The function do_something_with_this_pageview will read the value of the cookie your plugin uses to keep track of logged-in users, and set the corresponding value in the $_stat array: $_stat[‘username’] and then return the whole array.
I hope this makes sense.
Best,
Jason
Jason,
I just realized that my plugin actually uses wp-login.php of WP.
So wp-login.php perform login and the rest. I use only redirect function.
My custom plugin is based on this tutorial
https://code.tutsplus.com/tutorials/build-a-custom-wordpress-user-flow-part-1-replace-the-login-page–cms-23627
I also noticed that only Subscriber is not displayed at all. The rest of users (Guest and Contributors, even my own Subscriber-Mod, which is copy of Subscriber and added one more capability ) are displayed rather correctly. Guests are grey and the rest on dark yellow. But no logged-In standard Subscriber.
Any clue what could cause the problem.
I was thinking that i will need to export the database to excel or maybe user overview so we could combine task?
How i could contact you?
best,
Bogaty
This is indeed quite strange. Are you sure you don’t have any settings in Slimstat telling the plugin to NOT TRACK Subscribers? Otherwise, I don’t see why that would happen, since the only detail Slimstat is using to determine if a user is logged in, is the cookie set by WordPress. Which should be the same regardless of the user role.
Best,
Jason
Jason,
You were right, there was some setting issue. I changed from to server from client.
Its better now but i don’t see outbound links and referals?
Do you have somewhere default setting to load?
Best,
Hi,
you can do that by deleting the option slimstat_options in your database.
Best,
Jason
Jason,
Done, options deleted so i loaded default settings.
and does not work 🙁
On default tracking is set to Server, where i can see guests, and logged in ussers( all except the subscriber), inbound and outbound referrers.
But as i said not Subscribers.
If i switch to Client then i see all logged In users ( full data) and also Subscribers, their inbound referrers but still outbound referrers are missing.
In mean time i see all bots etc.
I think there is some bag in the code, possible on your side.
I use also plugin WP-UserOnline and it detect all users, IP.
If you would like to investigate the problem let me know so i could help if i can.
i use WP 4.7.5.
best,
Bogaty
Bogaty,
we’re more than happy to look into it. However, we could not reproduce the issue on our end at this time.
Best,
Jason.