matomo-org / matomo-org/plugin-TrackingSpamPrevention

Block country by siteID

Open
#133 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement triaged
Dominant language
PHP
Stars
18
Forks
10
Avg merge
20h 11m
Merged PRs (30d)
1

Description

Currently the option to block countries is handled by the Tracking Spam Prevention plugin but this applies to all websites within a subscription. Would it be possible to have an option in the UI to block by country but based upon a specific siteIDs.

SiteIDs do have the ip exclusion option but to block multiple countries manually using ips would be an exhaustive list.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the existing country-blocking option in Tracking Spam Prevention and the siteID-specific IP exclusion behavior; done would require an agreed UI and per-site country-blocking scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.