Help me understand the Anonymous Users statistics

AI-generated summary

Help me understand the Anonymous Users statistics

DigitalStartup noticed a significant increase in Anonymous users statistics in Google Analytics, with only 200 Sessions in the past week. To investigate, Stephen suggested checking the origin IPs for the traffic, which DigitalStartup found in the nginx access logs. The logs revealed an IP from Mexico as the culprit. Further analysis by Chaboi_3000 also identified a high number of Mozilla crawlers.

After blacklisting the rogue IP address, DigitalStartup reported a significant decrease in Anonymous Report stats. Stephen noted that the crawler list in the report is usually up-to-date, but in this case, it didn’t catch the rogue traffic. codinghorror pointed out that crawler reports by user agent under Admin can usually cover these issues.

For some reason, over the past week my Anonymous users statistics have exploded. According to Google Analytics, I’ve only had around 200 Sessions during this period.

No idea if it has anything to do with crawlers but I have the default “blacklisted crawler user agents” set to mauibot, Yandex, Daum & BLEXBox already.

I’m hoping someone can help explain:

  • What these statistics reflect in more detail
  • Why this would happen

Thanks

Have you looked at the origin IPs for this traffic?

Where would I find that data?

If you’ve got SSH access you can:

./launcher enter app

and then

cd /var/log/nginx

Which has access logs for the nginx instance within the Discourse container.

You can throw them at your log analyser of choice to look at where requests are coming from and their frequency.

It’s likely to be one or more crawlers and/or spam bots. How new is your community?

Thanks, I learned something new today :+1:

Initially, some IP from Mexico looks like the culprit. I’ll dig through some more logs.

Thank you

Usually the crawler reports by user agent under Admin cover this just fine cc @Stephen.

From what I can see, there’s considerably high numbers of Mozilla crawlers.

So, you methodology allowed me to identify a rogue IP address that was spamming my server. I blacklisted that address 22 hours ago and my latest stats look like this under my Anonymous Report:

Date Count
March 6, 2019 28
March 5, 2019 2665
March 4, 2019 3076
March 3, 2019 1172
March 2, 2019 1448
March 1, 2019 3179

Thanks again :+1:

Yeah, from the numbers @digitalstartup was querying (3979 vs 62) I didn’t point him in that direction because I assume the crawler list that goes into that report to be pretty up-to-date.