Linux 软件免费装
Banner图

WebDig.DEV Analytics

开发者 webdigpt
更新时间 2026年10月26日 02:16
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

dashboard woocommerce analytics umami core-web-vitals

下载

1.2.0 1.0.0

详情介绍:

Connect WordPress to your own HTTPS Umami server. A dedicated reports page and dashboard widget display visits, visitor estimates, page views, average visit duration and bounce rate. Choose 24 hours, 7 days, 30 days or a custom range of up to 366 dates. Visitor, visit and page-view totals include comparisons with the preceding interval of equal duration. Browse pages, traffic sources, custom events, Core Web Vitals, WooCommerce revenue, browsers, languages, operating systems, devices and visitor countries. A configurable share URL opens the full Umami report in a new tab. Features: External service and privacy The plugin loads the official tracker from your configured server (by default /script.js). The tracker sends page views, event data, browser/device information and, when enabled, performance measurements to that server. It uses the visitor IP for Umami processing and geographic estimates. With server-side purchase tracking, WordPress sends paid-order events to the same server with the customer IP address and browser user agent stored by WooCommerce, so the purchase joins the visitor's Umami session. Refer to your Umami server's privacy policy and configuration. Umami documentation: https://docs.umami.is/docs/ . No central WebDig analytics service is required. Automatic tracking excludes form values, customer names, customer emails and addresses. Email and phone link events do not include the link text. Tracked URLs keep only the query parameters listed in the settings (campaign parameters by default); fragments and order keys are always removed. External referrers are reduced to their origin. User-supplied custom event data remains the site owner's responsibility. Add data-webdig-ignore to any element whose clicks should not be recorded. Purchase deduplication stores an order marker in the visitor's localStorage. By default the plugin does not wait for consent. Enable "Wait for consent before loading the tracker" to prevent tracker loading and analytics requests until consent is granted. The plugin does not include a consent banner. Its analytics settings do not determine your website's legal obligations. Purchase tracking scope Browser mode (default): purchases are tracked when the order is paid and the customer returns to a valid order confirmation URL. The order key is verified and is not sent to Umami. Reloads are deduplicated in the same browser, but cross-device or cleared-storage duplicates remain possible. Server mode (recommended): at checkout the plugin records whether the order may be tracked, applying the consent, privacy-signal and role-exclusion settings. When WooCommerce marks the order as paid, the purchase is sent once from the server through Action Scheduler, with up to three attempts; a final failure is noted on the order. Orders created in the admin or through the REST API are not sent. When consent is required, the tracker mirrors consent in a first-party wda_consent cookie, or the WP Consent API is used, so the server can respect it. In both modes, refunds do not amend the original Umami event. Analytics revenue is not an accounting record. Legacy AJAX cart events and WooCommerce Blocks events are supported. Non-AJAX product form submissions are recorded as add_to_cart_attempt, not confirmed cart additions. Custom cart extensions can require their own integration. Portuguese (Portugal) documentation is included in readme-pt_PT.txt. / A documentação em português de Portugal está incluída em readme-pt_PT.txt.

安装:

  1. Upload the ZIP in Plugins > Add New > Upload Plugin and activate it.
  2. Create a website in your Umami instance and copy its Website ID.
  3. Open WebDig.DEV > Analytics > Settings in the WordPress admin menu.
  4. Enter your server base URL, Website ID and report API key. Enable tracking.
  5. Check the tracked domains (pre-filled with this site's domain) and select the tracking features you need. For WooCommerce, choose server-side purchase tracking.
  6. Optionally enter the Umami share URL.
  7. Remove other Umami snippets/plugins and clear site/CDN caches.
  8. Open WebDig.DEV > Analytics for reports, or Dashboard > Home for the statistics widget. If hidden, enable it in Screen Options.
  9. Test tracking in a private browser window. Administrators are excluded from tracking by default. Plugin activation, tracking and widget visibility are separate. Activate the plugin on the Plugins page, then enable tracking in its settings to start collecting visits. Showing or hiding the dashboard widget does not start or stop tracking. Statistics are displayed in the WordPress administration area and Umami, not on public site pages. The API key is required for dashboard reports, but not for collecting visits.
Settings remain when deactivating or updating the plugin. Uninstalling deletes this site's plugin settings, scheduled purchase sends and local report caches. It does not delete data on your Umami server. Multisite installs must be configured separately per site; network-wide provisioning is not included.

升级注意事项:

1.2.0 Settings and encrypted keys are preserved. The tracked-domain list is filled with this site's domain the first time an administrator opens the admin after the update; non-production environments stop sending data. UTM parameters are now kept in URLs. For WooCommerce, consider switching purchase tracking to server mode. Clear page/CDN caches after updating. 1.1.1 WordPress 7.1 compatibility metadata update. Existing settings and API keys are preserved. 1.1.0 Settings and encrypted keys are preserved. Review report access and consent options, then clear page/CDN caches. The new consent gate is off by default to preserve current behavior. Public Umami share links are hidden from report viewers until explicitly enabled. 1.0.1 Fixes first-save API key storage. Existing settings and encrypted keys are preserved. 1.0.0 Existing settings and API keys are preserved. Clear caches after upgrading. Select Portuguese in the user's WordPress language settings to use the pt_PT interface.

常见问题:

Visitors versus visits?

Visitors are anonymous unique visitor estimates. Visits count browsing sessions. One visitor can generate multiple visits. Neither is an exact count of people.

Where are Core Web Vitals displayed?

Enable the performance option, then open the Performance tab in WebDig.DEV > Analytics. It shows the 75th percentile of each metric with Google's good / needs improvement / poor thresholds and the slowest pages by LCP. New data is collected from real visitor browsers; no historical measurements are generated.

Why do staging copies not send data?

Only hostnames in "Tracked domains" send data, and by default only production environments (WP_ENVIRONMENT_TYPE). A cloned database keeps the production domain list, so the clone stays silent. Add extra domains if the same site is served on several hostnames.

Umami runs on the same server or in Docker

The plugin refuses private and loopback addresses for the public server URL. Set "Internal API URL" (for example http://127.0.0.1:3000 or http://umami:3000) for requests from WordPress; visitors keep using the public HTTPS URL. "Test saved connection" shows the technical error when a request fails.

Ad blockers block the tracker

Configure TRACKER_SCRIPT_NAME (and optionally COLLECT_API_ENDPOINT) on your Umami server, then enter the same script name in the settings. Server-side purchase tracking is never affected by ad blockers.

Can I change a saved API key?

Delete the key first, then save a new one. Keys defined as WEBDIG_ANALYTICS_API_TOKEN in wp-config.php must be changed there. Changing WordPress salts invalidates keys stored encrypted in the database.

How do languages work?

The admin interface follows the user's WordPress language. English is the source language. Portuguese (Portugal), Spanish (Spain), French, German and Italian are included. Regional locales do not automatically fall back to a different regional translation. The languages directory contains a POT template, PO/MO translations and WordPress JavaScript JSON catalogs. Third-party data, custom event names and browser names are not translated by gettext.

Can I hide the dashboard panel?

Yes. Use Screen Options on the WordPress dashboard. Administrators always have access. Select report roles or additional site users in Analytics settings. These users can read reports but cannot change settings or test the saved connection. Customers and subscribers are not listed individually; grant access by role. Access is checked for pages and AJAX requests. Users can have the selected role on this site or be selected individually; removing a user from the site revokes access.

Do I need a separate pixel?

No. The plugin loads the configured Umami tracker. The reporting API key stays on the WordPress server.

更新日志:

1.2.0 1.1.1 1.1.0 1.0.1 1.0.0