开发者 | openpanel |
---|---|
更新时间 | 2025年8月25日 19:19 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
op1.js
directly into your pages (cached locally for 1 week; falls back to CDN if needed)/wp-json/openpanel/
)op_client_
)openpanel
folder in /wp-content/plugins/
OpenPanel is an open-source web and product analytics platform designed as a privacy-friendly alternative to traditional analytics solutions. It provides real-time insights, funnel analysis, retention tracking, and more while respecting user privacy.
The proxy endpoint is at /wp-json/openpanel/
(followed by the OpenPanel API path). The SDK automatically points to this endpoint, so all analytics requests go through your WordPress site instead of directly to OpenPanel servers.
Serving analytics scripts and API requests from your own domain significantly reduces blocking by ad-blockers and privacy tools. This improves data collection reliability and ensures more accurate analytics.
Yes. The proxy responds with proper CORS headers allowing your site origin and credentials. It also sanitizes all inputs and only forwards legitimate OpenPanel API requests.
op1.js
fails?The plugin automatically falls back to loading the script from the OpenPanel CDN (https://openpanel.dev/op1.js
) if the local caching fails for any reason.
The op1.js
script is cached locally for 1 week using WordPress transients. You can manually clear the cache from the plugin settings page if needed.
Yes! The plugin includes hooks and checks. For example, tracking is automatically disabled for admin pages. You can extend this by modifying the inject_inline_sdk()
method or using WordPress filters.
No, the plugin is designed for minimal performance impact. Scripts are cached locally, loaded asynchronously, and the proxy only handles analytics requests efficiently.
No theme modifications are required. The plugin automatically injects the necessary tracking code into all frontend pages.
Yes. OpenPanel respects privacy by design with cookie-less tracking. Your data ownership is maintained, and you can export or delete data as needed. Since no cookies are used, you don't need cookie consent banners on your site.
No! OpenPanel uses cookie-less tracking technology, which means no cookies are stored on your visitors' devices. This eliminates the need for cookie consent banners and makes your site GDPR compliant for basic analytics without requiring user consent.
For plugin-specific issues, use the WordPress plugin support forum. For OpenPanel platform questions, visit OpenPanel.dev or their community channels.