WordPress.org

Ready to get started?Download WordPress

Forums

WP Slimstat
[resolved] Known Users not logged (26 posts)

  1. psn
    Member
    Posted 1 year ago #

    Hi Camu,

    Since I upgraded to your latest version Known Users is not logged. I have an other plugin Wordfence where I cleary can see several of our Members has login and visit site but they are not showned in Stat.

    I have not changed settings so I assume something has gone wrong in the latest version?

    //Per

    http://wordpress.org/extend/plugins/wp-slimstat/

  2. camu
    Member
    Plugin Author

    Posted 1 year ago #

    What's the site?

  3. psn
    Member
    Posted 1 year ago #

    Hi Camu
    I think I might found the problem, by mistake when I put in define('WP_MEMORY_LIMIT', '64M'); I uncommment define('WP_CACHE', true);

    So I comment back this cache and now I get stat for Members on our site.

    But if thats 100% true I don't know so here you have our site: http://www.mesas.se

  4. psn
    Member
    Posted 1 year ago #

    Something strange is it Yesterday I had 1 Known user logged in to our site and I could see him on stat as Known Users whith his nick name. Today when I check I can still see his visit in Right Now but not as Known Users, his track is now classed as Other Humans. I had in settings activated Outgoing click which I now have turned off, can that part generate tracked known users to be other humans??

    Edit: The above mentioned senario I can now understand why this happen its due to when known users logout and they will switch from known to other human as session is set to 1800 for 1 IP:s visit to remain. When I filter on his nick name I get his as Known Users.

    Also worth to mention when I had the above cache uncomment in config file I got one users track as above but an other known users IP which was logged in wasn't tracked at all so the latest version might be instable?

    Edit: This users track when I filter on his IP or Nick name his track is not logged at all.

    I hope above information will help you to drill down to root cause as I love your stat and really want it to work :-)

    Per

  5. psn
    Member
    Posted 1 year ago #

    Last Senario I might found the issue, when users visit our site from SmartPhones like Iphone or other we have connected WP-Touch for these and they are not tracked at all. I have tested this by myself and clearly these visit is not tracked. WP-Touch has a function where we can put in a code snipe for tracking purpose like Analytics or other can provide so can you also provide this code snipe into your plugin we can test and see if this will work!

    Per

  6. camu
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Per,

    as long as the template calls wp_footer(), no extra code should be needed.

    Please feel free to resolve this issue, if the problem is not occurring anymore.

    Camu

  7. psn
    Member
    Posted 1 year ago #

    Hi,

    wp_footer is called and actually before your update it worked fine and its not working so plse investigate why visit from ios is not working.

    Have you tested your plugin after latest release with vistor from iPhone or other smartphones?

  8. psn
    Member
    Posted 1 year ago #

    Strange, now its working even showing stat from iPhones. Must be a setting as I changed following:
    Javascript-mode from yes to no
    Ignore users from yes to no
    Extend sessions from no to yes
    Activate CDN from yes to no

  9. camu
    Member
    Plugin Author

    Posted 1 year ago #

    I would say it was Ignore users ;) And also the CDN, which is currently updating...

  10. psn
    Member
    Posted 1 year ago #

    Actually the translation in Swedish was not correct so it wasn't Ignore Users it was Ignore Spammers I changed so then I assume it was CDN. But anyway now its working as it should.

    JUst a short quest, I saw that JsDelivr has a plugin for serving js files do we need that to get this CDN function to work?

  11. psn
    Member
    Posted 1 year ago #

    I have now tested more deeper and the issue that iPone or other wasn't tracked is due to JavaScript Mode Yes. I don't have any cache plugin so I have that turned off but then we also got spammers, search engines and crawlers in the log. Can we have a function to just ignore these 3 and nothing else?

  12. camu
    Member
    Plugin Author

    Posted 1 year ago #

    Try setting JS mode to YES but CDN to no.

  13. psn
    Member
    Posted 1 year ago #

    Have already tested that and then no ios or smartphones will be logged in stat. But for the 3 above it will work.

    So its something I belive you need to look into asap.

    Cheers/Per

  14. camu
    Member
    Plugin Author

    Posted 1 year ago #

    It's working just fine on both my dev and production sites, so it must be some kind of conflict on your end. What's the URL?

  15. psn
    Member
    Posted 1 year ago #

    mesas.se

    I have now both JS mode and CDN set with NO

  16. psn
    Member
    Posted 1 year ago #

    I have changed JS mode to Yes and CDN is still No so now you should be able to see on your side what can cause this conflict.

  17. camu
    Member
    Plugin Author

    Posted 1 year ago #

    It looks like a conflict with some other plugin, because when I inspect the variable environment (with my iPhone emulator), the javascript variable SlimStatParams is not defined. This variable is required by the engine and if not found, the Javascript assumes that the plugin is disabled.

    BTW, with JS mode set to NO you should see my visits coming from 98.109.* made with the emulator.

    You will need to understand what/why is resetting the variable environment...

  18. camu
    Member
    Plugin Author

    Posted 1 year ago #

    Can you disable WP Touch for a second?

  19. psn
    Member
    Posted 1 year ago #

    Yes I can see your IP in my stat Right Now but I have JS mode set to Yes. So question then will be, why did your emulator shows up but not when I try from a real iPhone5?

    Still conflict with other plugins??

  20. psn
    Member
    Posted 1 year ago #

    Ok WP Touch disabled now

  21. camu
    Member
    Plugin Author

    Posted 1 year ago #

    It's definitely WP Touch then, because with your default template and JS mode set to Yes, it still tracked my visit from my iphone emulator. And it should track yours from your real mobile device.

    I will install WP Touch on my dev site and see if I can find out why this is happening.

    Camu

  22. psn
    Member
    Posted 1 year ago #

    Ok, fyi was I in contact with developer for wptouch and they confirmed that plugin is using wp_footer(). In WPTouch we have also a section where we can add in a code-snipe for stat so that can be an option to work with?

    I will now activate WPTouch again and you can contact me if any quest. Just mail me fejan(at)home.se

    Per

  23. psn
    Member
    Posted 1 year ago #

    Hi Camu,

    I think I found why WPTouch was in conflict, under Advance in WPTouch settings they have an option called Restrict Mode ie

    WPtouch Restricted Mode attempts to fix issues where other plugins load scripts which interfere with WPtouch CSS and JavaScript
    This part was turned on in our WPTouch settings and when I turned off this then we get hits for ios devices with JS-mode Yes and CDN No.

    :-) Can be worth to mention in help text for JS mode ie

    If you have WPTouch turn off Restrict Mode in their settings
    or something like that. See if your investigation comes to same conclusion.

    Per

  24. camu
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you, Per,

    I had installed WP Touch yesterday, but everything was working just fine, and I couldn't really figure out where to look, so your comment here above was really helpful! I will add a note to the FAQs to let people know of this issue.

    Really appreciated!
    Camu

  25. psn
    Member
    Posted 1 year ago #

    No problem at all, looking forward to get your next update 3.0. Any idea when this release will happen?

    Per

  26. camu
    Member
    Plugin Author

    Posted 1 year ago #

    Contact me if you want to test the beta ;) It will still take me from 2 to 4 weeks to release it to the public.

    Camu

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic