Enhancement Request: Enable IP exclusions in Jetpack Stats for cached environments #40778
Labels
Customer Report
Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report"
[Feature] Stats Data
Feature that enables users to track their site's traffic and gain insights on popular content.
Needs triage
Ticket needs to be triaged
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Type] Enhancement
Changes to an existing feature — removing, adding, or changing parts of it
Impacted plugin
Jetpack
What
Support IP exclusions in Jetpack Stats with cached sites
How
The current implementation of the
jetpack_stats_excluded_ips
filter does not work for sites using caching, as the logic to exclude IPs relies on dynamically determining visitor IP addresses before serving the tracking script. Cached pages bypass this logic, resulting in the inability to exclude specific IPs from being tracked.This issue was initially reported by a user on an Atomic site (ephillc.com) reported here: https://github.com/Automattic/jpop-issues/issues/9399, but affects all users relying on caching for performance.
This was initially reported by a user and here's the follow-up ticket where we let them know: 9226409-zd-a8c
The text was updated successfully, but these errors were encountered: