WordPress plugin
The official Harvv Analytics plugin is live on the WordPress.org directory. Install it from your WP admin in under a minute, no theme-file editing required. Prefer a plain script tag? The direct-pixel snippet still works on any theme.
Install the plugin (recommended)
- In WP Admin, go to Plugins → Add New and search Harvv Analytics.
- Install, then Activate.
- Open Settings → Harvv Analytics and click Connect to Harvv. That opens harvv.com in a new tab; finish signup and your site key saves back automatically. (Or expand I already have a key and paste it.)
- On WooCommerce stores, no further setup is needed. Order events start flowing on the next completed payment.
You can also open the directory listing directly: wordpress.org/plugins/harvv-analytics.
What the plugin adds
- Site-key entry and verification inside WP Admin (no theme-file editing).
- WooCommerce order sync on
woocommerce_payment_complete: order total, line-item product IDs and quantities, coupons, payment and shipping method, and a non-reversible customer hash. Never blocks checkout, and HPOS (Custom Order Tables) compatible. - Stack snapshot (installed plugin slugs and versions, active theme, WP and PHP versions) so the dashboard can attribute UX issues to the plugin or config causing them. One-click opt-out.
- Auto-exclusion from major optimization plugins so the pixel is never lazy-loaded out of your Core Web Vitals window.
Alternative: direct pixel (no plugin)
- Get your site key from Studio → Settings → Install
- In WP Admin → Appearance → Theme File Editor →
header.php - Paste this above
</head>(or use a Header Footer plugin):<script async src="https://harvv.com/px/YOUR_SITE_KEY/pixel.js"></script> - Save, load any page, check the Network tab for
pixel.jsloading.
See Direct pixel install for details on verifying, CSP, and the privacy contract. The plugin and the direct snippet load the same canonical pixel, and a built-in guard prevents double-firing if both are present.