Hears the early errors.Stays out of the way.
Most monitoring scripts load late and miss the errors that fire before they wake up. Bloodhound puts a short inline loader at the top of the page head. It runs synchronously in about a millisecond, only to start listening, and the main script loads deferred so it never holds up rendering. Here's how it's built and what it can and can't see.
Where every monitor lives, where Bloodhound lives.
The trick is the gap between "page starts" and "your monitor wakes up." Bloodhound closes that gap with a tiny synchronous stub at the very top of <head>, then does the heavy lifting once the page is parsed.
Two scripts. One job.
They install in one click via a Shopify theme app block. No code changes to your theme.
- Registers
error+unhandledrejectionlisteners (capture phase) - Queues events into
window.__bh_q(capped at 100) - Boosts the resource-timing buffer to 500 entries
- Drains the stub queue on startup
- Reads CWV retroactively via
buffered: true - Attributes every error and script to its origin
- Batches and ships via
navigator.sendBeacon
/ingest (batched, every 5s) ↓- Dedupes by signature, attributes by origin
- Rolls into daily aggregates + revenue impact scoring
- Pushes to Slack/email when error rate spikes
- Errors grouped + ranked by estimated revenue at risk
- Core Web Vitals trend, p75 against Google's thresholds
- Per-app and per-script performance breakdown
The honest version.
We'd rather tell you the truth than write copy that falls apart when an engineer looks at it.
Caught
- JavaScript errors in any inline
<script>after the Bloodhound block - Errors in third-party app scripts loaded later in
<head>or<body> - Errors in theme JS, async events, hydration, post-load interactions
- Unhandled promise rejections with full
message,stack,name - Failed
fetch/XMLHttpRequest(4xx, 5xx, network errors) console.errorcalls (andconsole.warnon Pro)- Content-Security-Policy violations
- Core Web Vitals (LCP, CLS, INP, FCP, TTFB) from start of navigation
- Resource timing for every script the page loaded, retroactively
Not caught
- Errors in scripts Shopify itself injects in
<head>before any theme app block can render,shopify-features,boomerang,web-pixels-manager. Almost always platform internals, not actionable for merchants. - Cross-origin errors from third-party scripts that don't send
Access-Control-Allow-Origin. Browsers strip them to"Script error."with no info. We drop these rather than logging useless rows.
Why it's so small
Vanilla JavaScript. No framework, no dependencies, no transpilation bloat. The only library it uses is the browser's own PerformanceObserver and navigator.sendBeacon. Built deliberately to fit on a slow 3G page without becoming part of the problem it's trying to measure.
Privacy
A secret-scanner runs over every captured message and stack trace. API keys, JWTs, and private tokens are redacted before anything leaves the browser. We never capture cookies, form input values or session content. The few browser storage keys the script uses are listed in the privacy policy.
Kill switch
Switch off Bloodhound Monitor in Online Store > Themes > Customize > App embeds and the script stops loading on the next page view. The checkout test and theme file checks keep running from our servers on paid plans. If you'd rather not touch the theme editor, add <meta name="bloodhound-disabled" content="1">anywhere in <head>. The stub returns immediately and the deferred main never initialises.
Install free from the Shopify App Store.
Paid plans start with a 14-day free trial, billed through Shopify.
Install free →Free plan available. Paid plans start with a 14-day free trial.