Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Request: Enable IP exclusions in Jetpack Stats for cached environments #40778

Open
alinclamba opened this issue Dec 31, 2024 · 1 comment
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

Comments

@alinclamba
Copy link

alinclamba commented Dec 31, 2024

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

@alinclamba alinclamba added [Feature] Stats Data Feature that enables users to track their site's traffic and gain insights on popular content. [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 Needs triage Ticket needs to be triaged labels Dec 31, 2024
Copy link
Contributor

Support References

This comment is automatically generated. Please do not edit it.

  • 9226409-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report" label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Development

No branches or pull requests

1 participant