Linux 软件免费装
Banner图

Ponte Analytics for Umami

开发者 fdoliveira
更新时间 2026年8月24日 20:36
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

privacy statistics analytics umami web-analytics

下载

2.0.0

详情介绍:

Ponte Analytics for Umami connects your WordPress site to your own self-hosted Umami analytics instance. It injects the official Umami tracker script into your site's front end so that your Umami installation records the analytics - not us. No data is ever sent to nquare. Umami is open-source, cookie-free, and privacy-friendly by design. This plugin is purely client-side: your browser talks directly to your Umami server, there are no server-to-server calls, no Umami credentials are stored on your site, and no custom database tables are created. Features Requires a working self-hosted Umami v3.x instance - this plugin does not include or bundle Umami itself. Credits With thanks to the Umami team for the open-source analytics software this plugin connects to - Ponte Analytics for Umami would not exist without their work. It is an independent plugin, not affiliated with or endorsed by Umami. Built and maintained by nquare.

安装:

  1. Install and activate the plugin (via Plugins → Add New, or by uploading the zip).
  2. In your WordPress admin menu, go to Ponte Analytics for Umami.
  3. On the General tab, enter your Umami host URL (e.g. https://analytics.example.com) and your Website ID (a UUID, found in your Umami dashboard under the website's settings).
  4. Turn on tracking, then click Save changes.
  5. To check it's working, open your site while logged out or in a private/incognito window - administrators are excluded from tracking by default. In your browser's dev tools you should see the Umami script load and a request to your Umami server succeed.
You will need a self-hosted Umami instance before you can connect - this plugin is a bridge to Umami, not an analytics platform in itself.

屏幕截图:

  • The WordPress dashboard status widget, showing your tracker configuration at a glance.
  • An event landing in your own Umami dashboard.

常见问题:

Do I need my own Umami server?

Yes. Ponte Analytics for Umami connects to a self-hosted Umami instance that you control - it does not include or host analytics itself. See umami.is to get started.

Does any data go to nquare?

No. The plugin is entirely client-side: the tracker script in your visitors' browsers sends data directly to your own Umami instance. Nothing passes through, or is stored on, any server operated by nquare.

My Umami is installed in a subfolder, or I renamed the tracker script - what do I enter for Host URL?

Enter the full script URL instead of just the host. Umami's tracker script name does not need to end in .js and can be any path you choose - for example https://example.com/analytics/app or https://example.com/stats/script.js. If your Umami installation lives at a nested base path and you have not renamed the script, make sure the Host URL ends with a trailing slash (e.g. https://example.com/analytics/) so the plugin knows it's a folder, not a script name.

The status says "Tracker configured and enabled" but I don't see any data in Umami

A few common causes: (1) your own account's role may be excluded from tracking by default - Administrator, Editor, and Shop Manager are excluded out of the box on the Advanced tab, so test as a logged-out visitor or in a private/incognito window; (2) an ad blocker or privacy extension in your browser may be blocking the tracker script or its requests; (3) double-check the Host URL - if Umami is in a subfolder or the tracker script was renamed, see the FAQ above.

Does it work with WooCommerce High-Performance Order Storage (HPOS)?

Yes. The plugin declares full compatibility with HPOS and uses WooCommerce's order API (not raw post meta) to track purchases, so it works correctly whether HPOS is enabled or not.

When exactly is a purchase counted?

When WooCommerce considers the order paid - that is, once its status is Processing or Completed. Orders awaiting an offline payment (bank transfer, cheque, and similar "pay later" methods) are not counted at checkout time, since they aren't paid yet; they are counted if and when the customer returns to the order-received page after the order has been marked paid. Marking an order Completed is a fulfilment step, not what triggers the event - an order already sitting in Processing is already paid and already counted.

What happens if I refund an order?

The purchase event was already sent to Umami at the time of the sale, and this plugin is purely client-side - it has no way to retract an event once sent, and Umami's tracker doesn't offer one either. A refunded order's revenue therefore stays in your Umami revenue report. Refunding an order does not send a second event.

Does full-page caching affect WooCommerce purchase tracking?

If your site uses a full-page caching plugin, make sure your order-received (thank you) page is excluded from the cache. A cached copy of that page would replay the same purchase event to every later visitor who happens to land on it. Most caching plugins already exclude WooCommerce cart, checkout, and account pages by default - just double-check the order-received page specifically.

Does WordPress's speculative loading (Speculation Rules, WP 6.8+) affect WooCommerce purchase tracking?

Rarely, and only in one specific way. The plugin already ignores prefetch requests for the order-received page, so a prefetch alone never consumes the one-shot tracking flag. But if the browser later reuses that prefetched response to serve the actual page view (no second request is made), the visitor sees a page with no purchase event - the flag stays unburned, so a reload of the same page still tracks it correctly. This is a bounded, self-healing edge case: the order-received page is reached via a checkout redirect, which is rarely a prefetchable link in the first place.

Which form plugins are supported?

Contact Form 7 and WPForms. A successful submission of either fires a custom Umami event that you name and configure from the form's own editor - a validation error or a failed submission never fires it. WPForms confirmations that redirect off your own site are the one exception: if you configure WPForms to redirect to a page/URL on a different domain after a successful submission, whether the event is tracked depends on whether the form's AJAX submission setting is on. With AJAX off, the plugin cannot confirm the success on a page it does not control, and the event is not tracked. With AJAX on, WPForms fires its success event on your own site before the browser navigates away, so the event is tracked. Confirmations that stay on your own site (including the default "Message" confirmation and same-origin Page/Redirect confirmations) are tracked normally.

Does automatic click tracking work with page builders?

Yes - the tracker script and page-view tracking work with any theme or page builder. Elementor is a detected integration (Events & integrations tab, on by default when Elementor is active): Elementor buttons are tracked automatically as link events with their destination URL, even when "Link clicks" is off. If you have just turned this integration on, an already-cached Elementor page won't pick up tracking until you clear Elementor's cache or re-save the page - turning the integration back off takes effect immediately, with no cache action needed. For other builders:

  • Page builders usually render their "button" elements as links rather than native HTML buttons. To record clicks on them, turn on "Link clicks" (and, for buttons that point to another site, "Outbound links") on the Events & integrations tab - they are recorded as link events with the destination URL. The "Button clicks" option covers native, standalone HTML buttons; a submit button inside a form is covered by "Form submissions" instead, not "Button clicks".
  • Interactive widgets that only change what's shown on the page without navigating - accordions, tabs, toggles, sliders - are not recorded as events. (Some image lightboxes are built as a plain link to the image file; those are recorded as a link click, with the image URL, when "Link clicks" is on.) To track a widget that fires nothing, send your own event with the developer API (window.ponteAnalytics.track).

How do I use the JavaScript developer API?

Call window.ponteAnalytics.track( 'event_name', { key: 'value' } ) from your own JavaScript to send a custom event - for example, to track a widget that fires nothing on its own. A few things to know:

  • It runs on the front end for visitors who are actually tracked. Excluded roles (for example administrators) get no tracker and no API, so test while logged out or in a private/incognito window.
  • Call it after the page has loaded, or on a user interaction. Events fired before the Umami tracker has loaded are not queued, so a call at the very top of the page can be missed.
  • The event name is capped at 50 characters, matching Umami's own limit - characters outside the Basic Multilingual Plane, such as most emoji, count as two. Your data object is passed to Umami as-is and is subject to Umami's own data limits.

Is it GDPR- and cookie-friendly?

Umami itself is cookie-free by design, and you control your own Umami instance and its data retention. Ponte Analytics for Umami adds no cookies of its own. As with any analytics tool, you remain responsible for your own privacy notice and compliance.

I was using Stats Umami 1.2.0 - how do I move to this plugin?

Deactivate and delete Stats Umami first, then activate this plugin. This matters: the plugin folder is different, so WordPress installs this one alongside the old one instead of replacing it - if both end up active at once, the tracker loads twice and every page view and event is counted twice. After switching over:

  • Your settings do not carry over. Re-enter your Umami Host URL and Website ID and turn tracking back on.
  • Per-form event settings do not carry over either. Contact Form 7 and WPForms event names and data are stored per form, so open each form you had configured and set its event again.
  • Analytics you already collected are unaffected - they live on your own Umami server, not in WordPress. Past WooCommerce orders that were already reported are not counted a second time.

更新日志:

2.0.0