Documentation Guides Exclude IP Addresses

Exclude IP Addresses

The IP Exclusions setting in WP Statistics allows you to exclude specific IP addresses from your site’s analytics. This can be useful for excluding internal traffic, bots, or any unwanted sources from your statistics.

How to Use IP Exclusions

Accessing the IP Exclusions Setting:

    • Navigate to the WP Statistics plugin settings in your WordPress dashboard.
    • Go to Settings > Filtering & Exceptions.
    • Find and click on the “IP Exclusions” option.

    Entering IP Addresses:

      • In the “Excluded IP Address List” text box, enter the IP addresses you want to exclude. You can enter one IP address or range per line.
      • IPv4 Addresses:
        • You can use both single IP addresses (e.g., 192.168.0.1) and ranges (e.g., 192.168.0.0/24 or 192.168.0.0/255.255.255.0).
      • IPv6 Addresses:
        • Use the appropriate IPv6 format, such as fc00::/7.

      IP Address Formats:

        • For IPv4 addresses, both CIDR notation (e.g., 192.168.0.0/24) and subnet masks (e.g., 192.168.0.0/255.255.255.0) are acceptable.
        • For IPv6 addresses, use the format fc00::/7.

        Using General Exclusions:

        • You can manually enter these ranges in the text box if needed:
          • 10.0.0.0/8
          • 172.16.0.0/12
          • 192.168.0.0/16
          • 127.0.0.1/24
          • fc00::/7

        Example IP Exclusions

        • Single IP Address: 192.168.0.1
        • IPv4 Range: 192.168.0.0/24 or 192.168.0.0/255.255.255.0
        • IPv6 Range: fc00::/7

        By setting up IP exclusions, you can ensure your statistics reflect the traffic you want to analyze, leading to more accurate data and insights.