URL: /rules/adblock/blocked-links

---
title: "Blocked Tracking Links"
description: "Checks for links and resources pointing to blocked tracking domains"
---

<Warning>**Beta Rule** - This rule is experimental and may change significantly in future releases.</Warning>

Checks for links and resources pointing to blocked tracking domains

| | |
|---|---|
| **Rule ID** | `adblock/blocked-links` |
| **Category** | [Adblock Detection](/rules/adblock) |
| **Scope** | Per-page |
| **Severity** | info |
| **Weight** | 2/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:

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `maxMatchesToReport` | unknown | `undefined` | Maximum blocked links to report in detail |

### Configuration Example

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

## Enable / Disable

### Disable this rule

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

### Disable all Adblock Detection rules

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

### Enable only this rule

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