Resources »

Guides »

Mail »

Privacy »

Block email tracking pixels and beacons


Digital marketing teams frequently use external images to track when you view an email message. This tracking can record your IP address, approximate location, and a timestamp. Images may also set browser cookies used by advertisers to track your behavior across the web.

Cerb protects your privacy by blocking external images by default.

When you optionally choose to view images for a specific message, its images are routed (proxied) through the server to remove cookies and anonymize worker IPs and locations.

You may also configure a blocklist to always prevent known tracking images from loading, even when other images are displayed.

This guide demonstrates a sample blocklist and provides instructions on creating your own rules.

Importing the sample blocklist

This sample blocklist is not comprehensive, but it will block image tracking from many common sources.

  1. Copy this sample blocklist:

  2. As an administrator, navigate to Setup » Mail » Incoming Mail » HTML.

  3. Paste the above blocklist into the Images » Blocklist section.

  4. Click the Save Changes button.

Adding your own blocking rules

Blocking rules are patterns that match a URL.

You do not need to include http:// or https:// at the start of the URL. Any protocol will be matched.

For efficiency, all rules must include a hostname pattern.

When a hostname begins with a dot (.), any number of subdomains will match. For instance, matches and This can include just a top-level domain (e.g. .com) to match everything with that suffix.

If you provide a partial path (e.g. /beacon/) the rule will match any location with that prefix.