KD Tracking Connector for OpenPanel connects your WordPress site to OpenPanel Analytics – a powerful, open-source alternative to Google Analytics that you can fully self-host.
No data sent to Google. No surprise tracking. Full control over where your visitor data lives.
This plugin works completely independent of your active theme and is configured entirely via Settings → OpenPanel in the WordPress admin.
Why OpenPanel?
- Open source – MIT-licensed, fully auditable source code
- Self-hostable – Your analytics data stays on your own server
- Cloud option – Use the official OpenPanel Cloud with zero setup
- Cookie-friendly – Basic page-view tracking works without cookies
- Google Analytics alternative – Real-time stats, custom events, session replay
Plugin Features
- Self-Hosted & Cloud – Enter your API URL for self-hosted, or leave empty for the official cloud
- Local Script Delivery –
op1.js is served from the plugin folder, no external CDN request on page load
- Flexible Tracking – Page views, outgoing links and
data-track HTML attribute tracking individually configurable
- Session Replay – Record mouse movements, scroll behaviour and clicks (optional, with input field masking)
- Privacy Controls – Honour Do Not Track (DNT), exclude logged-in users, disable tracking when WP_DEBUG is active
- Multilingual – Ships with German and English, fully translatable via
.pot template
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.
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).