Dashboard, alerts and statuses
Sites
The Sites page lists your sites with the number of reports each one has received this month, and a usage bar for your whole account, such as 8,412 / 10,000 this month. Your quota is shared by all your sites. Click a site to see its violations.
What a violation is
A violation is one kind of problem on one site: a directive plus the blocked value. For example, "script-src-elem blocked https://cdn.example.com" is one violation, however many reports, pages or visitors it comes from. That's the unit you review, mute, resolve and get alerts about, so a script blocked on 200 pages is one line in your list and one alert.
- Directive is the directive that blocked the resource, as the browser reports it, such as
script-src-elemorimg-src. - Blocked is shortened so that similar reports group together:
- A URL becomes its scheme and host, plus the port if it isn't the default:
https://cdn.example.com/lib.js?v=3becomeshttps://cdn.example.com. The full URL is kept in the samples. data:,blob:andfilesystem:URLs become just the scheme.- Keywords such as
inline,evalandwasm-evalstay as they are. Troubleshooting and FAQ explains what they mean. - For
inline,evalandwasm-eval, the code sample splits violations further: when your policy has'report-sample', browsers send the first 40 characters of the blocked code, and you get one violation per sample, such asinlinegtag('config', 'G-…. Digits are ignored when comparing samples, so a script that starts with a timestamp or an ID stays one violation. A site gets at most 50 sample violations per directive; after that, new samples are counted in the plaininlineviolation. Reports without a sample all go to that plaininlineviolation. (empty)means the browser didn't say what was blocked.
- A URL becomes its scheme and host, plus the port if it isn't the default:
The violations list
Each row shows the directive, the blocked value, the number of reports in the selected date range, the number of pages it happened on, when it was last seen, and its status.
- Range: the last 7 days (the default), the last 30 days, or custom dates. Ranges are whole days in UTC, and are capped at your plan's retention period: you can't look further back than the data we keep. All times in the dashboard are UTC.
- Status: Open (the default), Muted or Resolved. Muted and Resolved violations are hidden until you pick them here.
- Directive and Search blocked narrow the list down. The search also matches code samples, so
gtagfinds the Google tag's inline script. - Sort by last seen (the default) or by report count.
- Group by directive shows one section per directive. It's the view to use when you roll out a policy, because each section is a list of what that directive would need to allow.
A violation's page
Click a violation to see:
- its status, when it was first and last seen, and its total number of reports
- a chart of reports per day
- Pages: each page it happened on, with counts, busiest first. Pages are listed by path only: the query string and fragment are dropped, the path is lowercased, and a trailing slash is removed.
- Latest samples: the raw reports, with the full blocked URL, the page URL, the source file and line, the script sample (if the browser sent one), the disposition (
enforceorreport), the user agent and the time. We keep up to 20 samples per violation per day (UTC), so a busy violation has samples for every day without storing every report.
Mute and Resolve
Each violation has Mute and Resolve buttons, and Reopen to undo either.
| Muted | Resolved | |
|---|---|---|
| Use it for | Something you'll never allow and don't want to hear about again | Something you fixed or allowed in your policy |
| Shown in the list | Only when you filter by Muted | Only when you filter by Resolved |
| When a new report arrives | It's counted, and stays muted | It goes back to Open |
| Alerts | Never again | You get an alert again, as if it were new |
| Retention | Kept even if no reports arrive for longer than your retention period, so the mute keeps working | Deleted with the rest of the data once it hasn't been seen for longer than your retention period |
Reports for muted violations are still stored and still count toward your quota. Muting only hides a violation and stops its alerts. To stop the reports themselves, change your policy or your site.
Alert emails
We check for new violations every 5 minutes. A violation is new if it's Open and you haven't had an alert about it yet. That includes Resolved violations that just came back.
- You get at most one alert email per site per hour. It lists up to 20 new violations, then "and N more", with links to your dashboard. Violations that show up within the hour wait for the next email.
- A new site's first email is different. The first time a site reports anything, within 24 hours of adding it, you get a single "We're receiving reports for myblog.dev" email instead of a list of everything as new. After that, alerts work as described above.
- Alerts go to your account's email address.
To turn alerts off for a site, open its settings, untick Email me when new violations appear, and press Save. Reports are still collected. If you turn alerts back on later, the next email includes any new violations that appeared while they were off.
Quota emails are separate and are always sent: see Plans, quotas and retention.