When you finish, office traffic, staging pages, and one-per-order URLs stop distorting
your reports and your bill.
Before you start
- You must have the
owner or admin role.
- Filters run at ingest. A blocked event is never stored and never billed.
- Filters are not retroactive. They never change an event Datalyr already stored.
- A saved change reaches the ingest worker within 5 minutes.
The four lists
Settings → Filters holds four cards. Each takes a value and an add button.
* is the only wildcard. It matches one segment. ** does nothing.
Additional websites
Your primary domain and its apex and www pair are always accepted. Add every other
hostname that runs this workspace’s SDK.
An invalid entry returns Use a format like example.com or *.example.com.
Blocked IPs
Add an IPv4 address or an IPv4 CIDR range. Add your own office range first.
We return HTTP 204 to a blocked IP and store nothing. The browser sees a normal response,
so a blocked visitor can’t tell.
IPv6 is not accepted. An invalid range returns an Invalid CIDR error, and the mask must
be 0–32.
Blocked pages
Add a path pattern. Datalyr removes a matching event from the batch.
A path without a leading slash returns Path must start with /.
Masked pages
Add a pattern with :name placeholders. Datalyr rewrites the URL, the page URL, and the
pathname of a matching event.
/orders/abc and /orders/xyz then aggregate as /orders/:id. You keep the pageview and
lose the one-per-order clutter.
A broad pattern removes real customer activity permanently. /* blocks your entire
site. Add one narrow rule, test it, then add the next.
Verify
- Save the rule.
- Wait 5 minutes for the ingest cache to expire.
- Open Live.
- Load a page that the rule targets.
- Confirm nothing arrives.
- Load a page the rule does not target.
- Confirm it arrives.
When it does not work
Next