Origen Web Analytics

外掛說明

Origen Web Analytics is a lightweight analytics plugin by Origen Web that runs inside your WordPress site without relying on external services.

Features

  • Page, post, and custom post type visits
  • Real-time active visitors
  • Button click tracking (including Elementor buttons)
  • Time on page per post, page, or CPT
  • Dashboard with charts and date/type filters
  • Elementor and Advanced Custom Fields (ACF) compatible
  • Configurable automatic data retention
  • Privacy tools (export and erase personal data)

Privacy

  • Data is stored in your site’s database
  • No data is sent to third-party servers
  • Admins and logged-in users can be excluded
  • Suggested privacy policy content included
  • Compatible with WordPress personal data export and erasure tools

Optional integrations

Privacy Policy

This plugin collects browsing data for statistical purposes:

  • Anonymous session identifier (cookie wp_metricas_sid)
  • Visited pages, referrer URL, and device type
  • Button clicks (text and URL)
  • Time spent on each page
  • Approximate country and city (from server or CDN headers)
  • WordPress user ID when the visitor is logged in

Data is stored in the site database and is not transmitted to third parties.

Site administrators can configure retention, exclude users, and delete all data on uninstall.

Third-party libraries

  • Chart.js v4.5.1 — MIT License (bundled in assets/js/chart.umd.min.js)

安裝方式

  1. Upload the origen-web-analytics folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Go to Origen Web Analytics Settings to configure tracking
  4. Go to Origen Web Analytics Dashboard to view statistics
  5. (Recommended) Review Settings Privacy and add the suggested policy content

常見問題集

Does it work with Elementor?

Yes. The plugin detects Elementor pages and tracks clicks on .elementor-button elements.

Does it work with ACF?

Yes. It identifies content with ACF fields and lets you filter it in the dashboard.

Does it track administrators?

Not by default. You can change this in Origen Web Analytics Settings.

Is data sent to external servers?

No. All metrics are stored in your own database.

How are old records deleted?

Set the retention days in Origen Web Analytics Settings. The plugin runs a daily cleanup task.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Origen Web Analytics〉的開發相關工作。

參與者

將〈Origen Web Analytics〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.1.1

  • Geographic analytics: visits by country chart and city table
  • Admin menu label: Analytics
  • Geo detection via server/CDN headers (no external APIs)

2.1.0

  • Initial geo analytics attempt (use 2.1.1 instead)

2.0.1

  • Admin menu label shortened to “Analytics”

2.0.0

  • Renamed plugin to Origen Web Analytics (distinctive brand name for WordPress.org)
  • Updated Chart.js to v4.5.1

1.1.4

  • Requires WordPress 6.2+ (needed for safe %i SQL placeholders)
  • Fixed Plugin Check variable prefix warnings in templates

1.1.0

  • WordPress.org preparation release
  • Local Chart.js bundle, data retention, privacy tools, uninstall cleanup

1.0.0

  • Initial release