Skip to main content
Beta Rule - This rule is experimental and may change significantly in future releases.
Checks for links and resources pointing to blocked tracking domains
Rule IDadblock/blocked-links
CategoryAdblock Detection
ScopePer-page
Severityinfo
Weight2/10

Solution

Links to tracking domains (analytics, pixels, etc.) will be blocked by users with adblockers like uBlock Origin or AdBlock. If these are essential resources, they won’t load. If they’re analytics, you may get incomplete data from users with adblockers. Consider using first-party analytics or privacy-respecting alternatives.

Options

This rule supports the following configuration options:
OptionTypeDefaultDescription
maxMatchesToReportunknownundefinedMaximum blocked links to report in detail

Configuration Example

squirrel.toml
[rules."adblock/blocked-links"]
maxMatchesToReport = undefined

Enable / Disable

Disable this rule

squirrel.toml
[rules]
disable = ["adblock/blocked-links"]

Disable all Adblock Detection rules

squirrel.toml
[rules]
disable = ["adblock/*"]

Enable only this rule

squirrel.toml
[rules]
enable = ["adblock/blocked-links"]
disable = ["*"]