Tracking Rules: exclude traffic by IP address or domain
Tracking Rules exclude traffic from specific sources so it is not counted in your analytics. You can filter by two parameters: IP addresses and domains.
When computing your data, Marfeel excludes all traffic that matches the criteria you set here.
Blocking IP addresses
Section titled “Blocking IP addresses”Marfeel allows you to block traffic from specific IP addresses or entire IP ranges using CIDR notation. For example:
192.10.10.10blocks a single IP address.192.10.10.10/16blocks a range of addresses, where/16is a subnet mask indicating that the first 16 bits (192.10) are fixed, and all IPs from192.10.0.0to192.10.255.255will be blocked.
This is useful for excluding bot traffic, internal networks, or known spam sources.
This article offers a detailed breakdown of IP Addresses and CIDR notation.
Blocking domains
Section titled “Blocking domains”Blocking a domain discards traffic that came from a given domain or that has a canonical URL pointing to that domain. This can be used to avoid tracking development environments and to block referral spam traffic. For restricting which domains can send traffic to your content, see authorized domains.
Marfeel blocks the exact domain you input. For example, if you input domain.com, Marfeel will not block traffic from subdomain.domain.com.
If there are multiple domain and subdomain combinations you would like to exclude, make sure to input each of them individually: subdomain1.example.com, subdomain2.example.com, etc.
How do I block an IP range using CIDR notation?
Add the IP with a CIDR suffix in Tracking Rules. For example, 192.10.10.10/16 blocks all addresses from 192.10.0.0 to 192.10.255.255, where /16 means the first 16 bits are fixed.
Does blocking a domain also block its subdomains?
No. Marfeel blocks the exact domain you input. If you block domain.com, traffic from subdomain.domain.com is not affected. You must add each subdomain separately.
What types of traffic can Tracking Rules exclude?
Tracking Rules can exclude traffic by IP address (single or CIDR range) and by domain. This is useful for filtering out bot traffic, internal networks, known spam sources, development environments, and referral spam.