Linux 软件免费装

Harvv Analytics

开发者 harvv
ecommercepros505
更新时间 2026年5月14日 00:55
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

privacy woocommerce analytics conversion tracking behavioral analytics

下载

1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8

详情介绍:

Zero PII. No cookies. No consent banner required. Harvv Analytics ships a lightweight (under 10 KB gzipped) behavioral tracker that captures how visitors interact with your pages — dead clicks, rage clicks, scroll depth, hover intent, JavaScript errors, engagement time — and syncs WooCommerce orders to your Harvv dashboard. It never reads cookies, never transmits names, emails, phone numbers, or addresses, and never stores personal data in your WordPress database. Because the plugin transmits no personal data, it does not require a cookie-consent banner under GDPR, CCPA, or PECR. Your visitors see no pop-ups; your checkout flows are not slowed; your compliance posture is simpler. What this plugin does What this plugin does NOT do Why you might want this If you run a WooCommerce store and want to see the dead clicks, rage clicks, and broken checkout paths your visitors hit — without making them click through a GDPR banner — Harvv is designed for you. The behavioral signals are sent to your Harvv dashboard where they become a prioritized list of UX fixes with plain-English explanations.

安装:

  1. Install and activate the plugin through the WordPress Plugins screen, or upload the plugin folder to /wp-content/plugins/harvv-analytics/.
  2. Navigate to Settings → Harvv Analytics.
  3. Click Connect to Harvv — this opens harvv.com in a new tab for signup. Once you complete signup, the tab will notify this plugin and your API key will be saved automatically.
  4. Alternatively, expand I already have an API key and paste your key manually.
  5. On WooCommerce sites, no further action is needed — order events start flowing on the next completed payment.
For multisite networks: go to Network Admin → Settings → Harvv Analytics and set one network-wide API key. Each subsite will auto-register with Harvv on its next pageload and receive its own Site ID.

升级注意事项:

1.0.8 Pixel now subscribes to GTM/GA4 dataLayer events for precise conversion capture, publishes Harvv signals back to dataLayer for downstream routing, and dedupes between DOM and dataLayer-sourced events in real time. Customers running GTM get the most accurate Harvv data with no setup. 1.0.7 Adds GA4 coexistence: pixel now detects GA4 presence, honors Consent Mode v2 (downgrades to anonymous when analytics_storage is denied), and tags commerce events with GA4-equivalent names. No double-counting. No setup needed. 1.0.6 Adds three new conversion-focused signals (cart-add clicks, coupon attempts, exit intent on cart/checkout) and per-click scroll depth. Pixel-side update; no setup needed. Auto-update is on by default so sites running 1.0.3+ already have the new signals flowing. 1.0.5 Adds an in-WP admin notice when the plugin detects an optimization tool that needs manual exclusion-list config (Perfmatters, W3 Total Cache, Hummingbird). Dismissible per-user. 1.0.4 Important fix: the plugin's pixel <script> tag now ships with the right exclusion attributes for every major optimization plugin (WP Rocket, LiteSpeed, Autoptimize, WP Fastest Cache, NitroPack, Cloudflare Rocket Loader). Before 1.0.4 the pixel could be lazy-loaded, which meant Core Web Vitals data was missing on every session. 1.0.3 Architecture cleanup: plugin now loads the canonical Harvv pixel from harvv.com instead of a bundled copy. Always-current pixel, smaller exposure surface for your site key, no breaking changes to existing installs. 1.0.2 Adds plugin-attribution: the dashboard can now tell you which plugin is causing a UX issue, not just where it happens. Site metadata only — no personal data. Opt out under Settings → Harvv Analytics → Preferences if you'd rather not share. 1.0.1 Single-site auto-register was silently broken before this release — please upgrade. Also restores Woo order sync (API base was hitting NXDOMAIN). 1.0.0 First release.

常见问题:

Does this require a cookie consent banner?

No. The plugin sets no cookies and transmits no personal data. Under GDPR, CCPA, and PECR, cookie-consent banners are required only when a site sets non-essential cookies or transmits personal data to third parties. Harvv transmits only behavioral signals (dead clicks, scroll depth, etc.) and a non-reversible customer hash — these are not personal data under any major privacy regime. If your legal counsel interprets the regulations more conservatively than we do, you can still add Harvv to your privacy policy's third-party services section. The plugin provides suggested language at Settings → Privacy → Policy Guide.

Does this plugin work without WooCommerce?

Yes. The WooCommerce integration loads conditionally — on a non-Woo WordPress site, the plugin runs as a pure behavioral pixel.

Does this plugin slow down my checkout?

No. All outbound HTTP calls use wp_remote_post() with 'blocking' => false, and the browser tracker uses navigator.sendBeacon() or fetch with keepalive: true. Nothing in the plugin waits on a response from Harvv.

Is this plugin HPOS (Custom Order Tables) compatible?

Yes. The plugin declares compatibility with custom_order_tables and uses only the WC_Order CRUD API — never direct $wpdb access against order tables.

What happens if my site loses internet connectivity?

The browser tracker queues events locally and attempts to flush on each interval; unsent events are discarded silently when the browser tab closes. WooCommerce order events are fire-and-forget — if your site cannot reach harvv.com at the moment of payment_complete, the event is lost. We do not queue order events for retry on-site because doing so would require creating a custom database table, which this plugin intentionally does not do. As of 1.0.1 the plugin records the timestamp of the most recent successful Woo sync and surfaces it on the settings page so an admin can spot a silently broken integration before reconciling Stripe and Woo manually.

How do I uninstall?

Delete the plugin from the Plugins screen. All plugin options (harvv_api_key, harvv_site_id, and related) are removed via uninstall.php. The plugin never creates custom database tables on your site, so nothing is left behind.

I use caching plugins — does this conflict?

No. The tracker is enqueued in the footer and is cache-friendly (same output for every visitor). The Connect-flow REST endpoint is under /wp-json/harvv/v1/* and is gated by a one-shot nonce, so caching that endpoint is harmless.

Is the Site key in my page source a secret?

No — the Site key is a public, per-site identifier. Think of it like a Stripe publishable key: it ships embedded in your page source so the browser tracker can authenticate its POSTs to Harvv. It can be used only to send events for the site it was issued for; it cannot be used to read your account data or events from any other site. If you ever need to rotate it, do so from the Harvv dashboard.

How do I keep Harvv exempt from my optimization plugin?

As of 1.0.4 the plugin auto-injects the exclusion attribute for every major optimization tool, so most setups are immune out of the box. The exceptions are three tools that match by URL pattern rather than HTML attribute:

  • Perfmatters — Settings → Perfmatters → Assets → Script Manager → "Delay JavaScript" → Exclusions: add harvv.com/px/.
  • W3 Total Cache — Performance → Minify → JS → Never minify the following JS files: add https://harvv.com/px/*.
  • Hummingbird — Hummingbird → Asset Optimization → Files to exclude: add harvv.com/px/.
If you're not running any of those three, you do not need to do anything — the plugin's auto-injected attributes handle WP Rocket, LiteSpeed Cache, Autoptimize, WP Fastest Cache, NitroPack, and Cloudflare Rocket Loader automatically.

How can I prevent the tracker from loading on specific pages?

Add a filter on harvv_should_load_tracker in your theme's functions.php or a small site-specific plugin: add_filter( 'harvv_should_load_tracker', function( $load ) { if ( is_admin() || is_cart() || is_checkout() ) { return false; } return $load; } ); The filter fires before wp_enqueue_script runs, so a false return prevents the script tag from ever appearing in HTML.

How do I point the plugin at a staging or self-hosted receiver?

Define HARVV_API_BASE in wp-config.php before WordPress loads plugins: define( 'HARVV_API_BASE', 'https://staging.example.com' ); The plugin sends every outbound API call (registration, Woo order sync) to that base URL. The Connect flow always uses https://harvv.com because Harvv's hosted signup page is the only place that can mint a fresh API key.

How do I tell if WooCommerce order sync is working?

Settings → Harvv Analytics shows the time since the most recent successful sync underneath the "Connected ✓" badge on WooCommerce sites. If a sync fails (DNS error, sslverify mismatch, etc.) the error message is shown in red and the timestamp is preserved from the last successful send. The plugin never blocks checkout — these signals are surfaced asynchronously so you can spot a failing integration before it becomes a reconciliation problem.

Does the plugin send a list of my other plugins? Why?

Yes — by default, the plugin sends Harvv a snapshot of which other plugins, theme, WordPress version, and PHP version are installed on the site. This is site metadata, not visitor data. No personal information, no user content, no option values. Why we do this: Harvv's value comes from telling you exactly what's wrong with your site's UX. The browser tracker can see "users are bouncing on /pricing because of a 600ms layout shift" — but without knowing which plugins are running, the diagnosis stops at "something is shifting layout." With the stack snapshot, we can attribute the shift to the specific plugin causing it (e.g. "Yoast 22.8 injects a meta tag late") and tell you exactly what to fix. Faster diagnosis = faster fix = better speed and UX for your visitors. That's what this plugin is for. What's sent (1.0.2 — site context):

  • Installed plugins: slug only (e.g. yoast-seo, not the human display name), version, active boolean.
  • Active theme: slug, display name, version, parent theme slug.
  • Environment: WordPress version, PHP version, MySQL/MariaDB version, server software string, site language code (en_US, fr_FR, …), timezone (America/Chicago), permalink-structure boolean ("pretty" vs "plain"), WP_DEBUG boolean, memory limit, max execution time, object cache backend (external / none), WP-Cron disabled boolean, multisite boolean + blog count.
  • Aggregate counts (no individual content): total registered users (number only), published + draft post and page counts, every custom post type's slug + publish count.
  • WooCommerce (only when active): version, store currency code, store base country, total published product count.
What is NOT sent (and we want to be explicit): no usernames, no email addresses, no IP addresses, no visitor data, no post titles or content, no comment data, no plugin option values, no user passwords, no per-user breakdowns (we only send the total count), no "last login" timestamps. Click Settings → Harvv Analytics → Preview the exact diagnostic snapshot we would send to see the literal JSON payload before your next sync fires. Three independent opt-outs, any of which disables the feature fully — no opt-out beacon is sent, the feature simply does nothing:
  1. UI toggle (recommended for most admins): uncheck Settings → Harvv Analytics → Preferences → Share stack info.
  2. Site-config constant (recommended for staging-first / WP-CLI workflows): add define( 'HARVV_SHARE_INVENTORY', false ); to wp-config.php. This wins over the UI toggle.
  3. Programmatic filter (for advanced cases): add_filter( 'harvv_share_inventory', '__return_false' ); in a small mu-plugin.
The plugin will continue to work normally with the feature disabled; you just give up the plugin-attribution column in the Harvv dashboard.

Does this plugin auto-update?

Yes — Harvv Analytics defaults to auto-update from WordPress 5.5+ so new behavioral signals and bug fixes reach your site without you having to remember to click Update. Behavioral pixels are most valuable when they're current; an out-of-date pixel silently misses entire classes of issues, so the default leans toward "stay current." If you'd prefer to manage updates manually (e.g. on a staging-first workflow), add this line to your wp-config.php: define( 'HARVV_AUTO_UPDATE', false ); The plugin will then defer to WordPress's normal per-plugin auto-update toggle (which defaults to OFF until you click "Enable auto-updates" on the Plugins screen).

更新日志:

1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0