外掛標籤
開發者團隊
② 後台搜尋「KD Tracking Connector for OpenPanel」→ 直接安裝(推薦)
原文外掛簡介
KD Tracking Connector for OpenPanel is a lightweight, standalone plugin that brings professional web analytics to your WordPress site without touching a single line of theme code. Everything is set up from one place: Settings → OpenPanel.
Under the hood, the plugin connects to OpenPanel, an open-source, privacy-friendly alternative to Google Analytics. Whether you use the official OpenPanel Cloud or your own self-hosted instance, the plugin handles the integration for you.
What you get
Zero-code setup – enter a Client ID, flip a switch, done. No editing of functions.php or theme files required.
Works with any theme – runs completely independent of your active theme.
One settings screen – every option lives under Settings → OpenPanel, nothing scattered across menus.
Self-hosted or cloud, your choice – point it at your own OpenPanel server, or leave the API URL empty to use the official cloud.
Local script delivery – the tracking script is served straight from the plugin folder, avoiding an extra external request on page load.
Fine-grained tracking control – toggle page views, outgoing-link tracking and data-track attribute tracking independently.
Optional Session Replay – record mouse movements, scroll behaviour and clicks, with automatic input masking to protect sensitive form data.
Built-in privacy safeguards – honour Do Not Track, exclude logged-in users, and automatically disable tracking on local/staging sites running WP_DEBUG.
Translation-ready – ships with English and German (informal “Du” and formal “Sie”) out of the box; more languages are welcome via translate.wordpress.org.
About OpenPanel
OpenPanel is the open-source (MIT-licensed), self-hostable analytics engine that does the actual tracking – real-time stats, custom events, session replay, and cookie-free basic page-view tracking. No data is ever sent to Google. Learn more at openpanel.dev.
Settings
All options are available under Settings → OpenPanel:
Enable OpenPanel – Enable or disable the tracking script globally. (Default: off)
Client ID – The Client ID of your OpenPanel application.
API URL (Self-Hosted) – Your self-hosted API endpoint, e.g. https://analytics.example.com/api. Leave empty to use the official cloud.
Serve op1.js locally – Load the tracking script from the plugin folder instead of an external CDN. (Default: on)
Track page views – Automatically track every page view. (Default: on)
Track outgoing links – Track clicks on external links. (Default: on)
Track data attributes – Track events via data-track HTML attributes. (Default: on)
Enable Session Replay – Record mouse movements, scroll behaviour and clicks. (Default: off)
Mask form fields – Prevent plain-text capture of input fields in session replays. (Default: on)
Skip logged-in users – Exclude admins and logged-in users from tracking. (Default: on)
Respect Do Not Track – Honour the DNT browser signal. (Default: on)
Disable on WP_DEBUG – No tracking on local or staging environments when WP_DEBUG is active. (Default: on)
Third-Party Services
This plugin integrates with OpenPanel Analytics (openpanel.dev), an open-source web analytics platform.
Cloud service (API URL left empty): Visitor data including page views, custom events and optional session recordings is transmitted to servers operated by OpenPanel at https://openpanel.dev.
Self-hosted: All data goes exclusively to your own server. Nothing is sent to openpanel.dev.
OpenPanel website
Source code on GitHub (MIT licence)
Privacy policy
Plugin repository
Bundled JavaScript Files
assets/js/op1.js and `assets/js/op1-replay.js` are local copies of the official OpenPanel tracking scripts in minified form. The non-minified source code is available at [github.com/openpanel-dev/openpanel](https://github.com/openpanel-dev/openpanel).
