Giter Site home page Giter Site logo

Googlebot is generating hits about shynet HOT 6 CLOSED

milesmcc avatar milesmcc commented on May 18, 2024
Googlebot is generating hits

from shynet.

Comments (6)

milesmcc avatar milesmcc commented on May 18, 2024 1

Maybe the best thing to do is an an option to ignore all bots? Then they won’t ever be logged in the database, thus saving you space.

from shynet.

milesmcc avatar milesmcc commented on May 18, 2024

Googlebot hits are recoded, but they don’t affect your overall stats (sessions, pageviews, etc). Or at least they shouldn’t. If you’re looking for a more drastic approach that even excludes Googlebot from the session list, you could add Google’s crawler IP range to your Ignored IPs.

Hope this helps.

from shynet.

rubenvanerk avatar rubenvanerk commented on May 18, 2024

That's weird because Googlebot hits are definitely affecting my overall stats.

Device types section:
image
Totals:
image
I took a quick look and I expected the hits to be filtered out on the line below, but I can't find anything that filters out the device_type of ROBOT.

service=self, start_time__gt=start_time, start_time__lt=end_time

from shynet.

milesmcc avatar milesmcc commented on May 18, 2024

You're right--I'm mixing this up with another change I made. A few weeks ago I made a commit that removed crawlers from showing up as mobile devices (because sometimes Googlebot will try to request the mobile site, sometimes tricking the device type field), and got that mixed up with an overall exclude.

Eventually, I'd like to implement much more advanced filtering (i.e., by far more than just date), and bots will certainly be a filter option.

from shynet.

rubenvanerk avatar rubenvanerk commented on May 18, 2024

What you're describing is also happening in my case:
image
I have 44 real sessions in the past ~24 hours

from shynet.

rubenvanerk avatar rubenvanerk commented on May 18, 2024

Google themselves discourage to ignore IPs

For now, I just regularly delete robot sessions through the admin.

from shynet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.