Using usage.io
Site settings
Open a site from the dashboard, then Settings. The page is organized into sections that match the in-app navigation: Tracking Script, Excluded Paths, Excluded IPs, Do Not Track, Reset Data, and Delete Site.
Tracking Script
This section shows the exact <script> tag for the site. Copy it into your site’s HTML layout.
The snippet reflects whether Collect Do Not Track traffic is enabled:
- Off — standard tag; visitors with Do Not Track enabled are not measured.
- On — the tag includes
data-collect-dnt="true".
After you change Do Not Track settings, update the script on your site if the tag changed. See Install the tracker.
Excluded Paths
Add PHP-compatible regular expressions matched against the URL path. Any page view whose path matches a filter is discarded and does not appear in analytics.
The form accepts patterns such as ^/admin, /wp-.*, or \.(php|asp)$. Add filters one at a time and confirm traffic in the dashboard after each change.
Full examples and cautions: Exclude traffic.
Excluded IPs
Add IPv4 addresses or CIDR ranges. Visits from matching addresses are discarded for this site only.
Use this for office networks, VPN egress IPs, or monitoring you run from fixed addresses.
Do Not Track
This section controls whether visitors with the browser Do Not Track flag are measured.
- When collection is disabled (default), the tracker does not run for those visitors.
- When Collect Do Not Track traffic is enabled, they are measured like other visitors.
Update your privacy policy and consent approach before enabling collection for DNT visitors.
Reset Data
Reset removes all analytics data for the site—processed aggregates and underlying visit data—while keeping the site registered and your snippet valid. Use this after a bad deploy, when testing filters, or when you want a clean chart without deleting the site.
Reset cannot be undone.
Delete Site
Delete Site permanently removes the site and all of its analytics data from usage.io. You will need to add the domain again if you want to measure it later.
Deletion cannot be undone.