JavaScript SDK
- Create a project in the app and copy the public project key.
- Install the hosted browser SDK snippet, or install the ErrorNotifier WordPress plugin on a WordPress site.
- The SDK posts a verification call from the page origin. A valid project key on that domain is enough to prove ownership for that domain.
- Use TXT or CNAME proof instead when a site does not run the SDK.
- The default bug report button appears in the bottom-right corner when bug reports are enabled for the domain.
- Disable or re-enable bug reports from App > Domains for each verified domain.
- Use reportBug: false to suppress the default widget for a specific page, or set bugReportTriggerId to open the report dialog from your own button.
- Only add accountCode when your app intentionally groups authenticated visitors by an internal customer code.
- Set pageStatsDetail to domain, path, path_query, url, or off. ErrorNotifier warns when App > Domains and the site script do not match.
- The Domains page summarizes the last 30 days of SDK starts, JavaScript error events, visitor bug reports, basic page views, top page paths when available, and last SDK activity.
<script src="/wp-content/plugins/errornotifier-core/assets/js/errornotifier-sdk.js"></script>
<script>
ErrorNotifier.init({
projectKey: "enpk_xxx",
endpoint: "/wp-json/errornotifier/v1/store",
feedbackEndpoint: "/wp-json/errornotifier/v1/feedback",
verificationEndpoint: "/wp-json/errornotifier/v1/sdk-verify",
reportBug: true,
showReportBugButton: false,
bugReportTriggerId: "report-a-bug",
basicStats: true,
pageStatsDetail: "path"
});
</script>Public demo
Review the real product screens with read-only mock data
Open the demo workspace to inspect monitors, incidents, domains, alert channels, status pages, projects, issues, automated test runs, releases, artifacts, audit history, and umbrella reports without creating an account.