Exclude robots from the statistics

Created on 10 March 2011, over 13 years ago
Updated 22 May 2024, 6 months ago

Problem/Motivation

Search engine crawlers and bots are inflating the statistics.

Steps to reproduce

Proposed resolution

Device detector is able to detect bots. We could choose not to log visits from bots or add a column (tinyint) to track bots.

If we add a column, bot visitors can be excluded from reports, but we can also track which pages have been indexed by which bots.

Remaining tasks

User interface changes

API changes

Data model changes

New column.

+-----------------------------+-----------------------+------+-----+---------+----------------+
| Field                       | Type                  | Null | Key | Default | Extra          |
+-----------------------------+-----------------------+------+-----+---------+----------------+
| bot                         | tinyint(1)            | YES  |     | NULL    |                |
+-----------------------------+-----------------------+------+-----+---------+----------------+
Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States Peel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024