Support » Plugin: Slimstat Analytics » "Default Browser" user agent reported by SlimStat

  • Resolved GermanKiwi


    Hi Camu,

    I recently started using which is a free website monitoring service. They monitor the uptime of your website by using “agents” that load your homepage every so-many minutes.

    They have an FAQ page at which explains how to exclude their agents from a statistics program like Google Analytics (or SlimStat of course).

    They explain that their agents always use a User Agent string of “StatusCake”, so I can use this to filter them out according to the User Agent.

    However, on the SlimStat “Right Now” page, I could see the StatusCake entries coming in every few minutes, but SlimStat listed the User Agent string as “Default Browser” rather than “StatusCake”.

    So I wrote to StatusCake and asked them about this. I thought they were using the wrong user agent.

    They wrote back to me the following answer:
    “It seems likely that the statistics plugin you are using [SlimStat] is using a PHP Module called “browscap”, this module takes user agent strings and then tries to match them to a known list of browsers it has stored. If it can’t find a valued match then it will show ‘Default Browser’ even if more information is provided in the user agent string. I can confirm our monitoring agents are still using the correct user agent string [StatusCake].”

    Can you confirm that SlimStat is using this PHP module? Is there any solution here, to allow SlimStat to report the true user agent string instead of “Default Browser”? This might also be relevant for other cases where the actual user agent is not known by the “browscap” PHP module and it reports “Default Browser” instead – wouldn’t it be better for SlimStat to always report the true, actual user agent in every case?


Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jason Crouse


    Hi there,

    yes, what they told you is correct, indeed. I will add a fix to the next version of SlimStat to apply your filters to the user agent BEFORE it’s run against browscap. I must say that they did a good job analyzing SlimStat to find what the issue was 😉

    Thank you for pointing this out. Please test the new version, once it’s out, and let us know if it worked.


    Haha, yeah their answer didn’t mean much to me, but I’m glad it makes sense to you! 🙂

    So will your fix mean that the true user agent will be displayed in the SlimStat reports/tables etc? Eg. on the Right Now page and Overview page? I think this would be the ideal solution to me, that I can always see the actual, true user agent (whatever it is) in the reports on those pages. Not only for StatusCake but for any other user agents too (bots or whatever).

    Plugin Author Jason Crouse


    Yes. In order to optimize the amount of data stored in the database, SlimStat didn’t record the actual UA. But for some other functionality that I’m implementing, I had decided to change that (without having to dramatically increase the db size).

    But the UA will be shown as a tooltip, not inline.

    Okay, sounds good I think. I’ll look forward to seeing this in a future version! 🙂

    Plugin Author Jason Crouse


    Contact us if you want to test this in advance.

    Plugin Author Jason Crouse


    Have you had a chance to test this new feature?

    I just tested it now (using SlimStat 3.3), but no joy: when I hover my mouse over the browser icon on the Right Now page (that’s the 2nd icon from the left for each entry), the tooltip still says “Browser: Default Browser” for the entries that are coming from the StatusCake monitoring agents. So nothing has changed unfortunately.

    Was this supposed to have changed with version 3.3?

    BTW, what do you think about this idea?

    Would be helpful for removing all these entries in the stats from StatusCake!

    Plugin Author Jason Crouse


    The User Agent is only displayed in the Browsers report under Overview, it would be confusing to have it under Right Now in my opinion. Unless more and more people start asking for a change in that direction 😉

    As for the purge request, I have that on my todo list, you should see that implemented soon…

    I actually don’t have any Browsers report on my Overview page – I only have Browser reports on my Visitors page – are you sure that I should have it on my Overview page too?

    In any case, I don’t see why it would be confusing to have the correct User Agent displayed on the Right Now page. Surely it’s better for consistency to have the exact same User Agent names used everywhere? So that if I see a User Agent of “XYZ” on the Overview or Visitors page, I can also see the same User Agent on the Right Now page and it’s clear to me that they are the same.

    What *would* be confusing to me, would be to have “Default Browser” showing on the Right Now page, but “XYZ” (whatever the true name is) showing on the other pages – that wouldn’t be very meaningful to me. 🙂

    Plugin Author Jason Crouse


    You make a good point, indeed. And you are right about the report being under the Visitors tab, my bad. I’ll do this: I will add an option to choose if you want to see the browser name or the user agent, in the tooltip.

    That sounds like a great solution, thanks! 🙂

    Plugin Author Jason Crouse


    Added to 3.3.2.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘"Default Browser" user agent reported by SlimStat’ is closed to new replies.