Automattic / Automattic/jetpack

Invalid 404 file URLs counted on stats page

Open
#29,430 22 comments 0 reactions 0 assignees View on GitHub
[Feature] Stats Data [Interaction #] > 10 [Pri] Normal Bug Customer Report [LEGACY] Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce
1. Starting at URL: bwspotlight.com
2. View Stats page
3. Click on one of the counted files
4. Refresh page, view is counted

#### What I expected
With a 404 link it would be expected to not count the view

#### What happened instead
The view is counted

History in this forum thread: https://en.forums.wordpress.com/topic/strange-mass-zip-file-download/#add-note

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior at bwspotlight.com: open the Stats page, click a counted file URL, and refresh the page. Trace how the Stats page records the view for a 404 response; done means invalid 404 file URLs no longer contribute to view counts, while valid file views still do.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
analytics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.