Linux 软件免费装
Banner图

HitKeep Analytics

开发者 pascalebeier
更新时间 2026年7月14日 07:39
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: MIT
版权网址: 版权信息

标签

privacy analytics web analytics self-hosted cookieless

下载

0.2.0 0.3.0 0.3.1 0.3.2 0.3.3 0.3.4 0.3.5

详情介绍:

HitKeep Analytics connects WordPress to a self-hosted or cloud HitKeep instance. It injects the normal hk.js tracker from your HitKeep instance and keeps data flowing through the core HitKeep ingest pipeline. The plugin does not add a separate analytics backend, database, queue, or third-party service. It only loads the tracker from the HitKeep instance you configure. Privacy-first web analytics for WordPress HitKeep is built for teams that want useful web analytics without adopting a heavy analytics stack. The WordPress plugin keeps setup simple: choose your HitKeep instance, save the settings, and the plugin loads the first-party tracker on public pages. Logged-in WordPress users are skipped by default, so administrators and editors do not pollute public traffic reports. Browser Do Not Track is respected by default. Features What the plugin does not do Third-party service connection This plugin connects to HitKeep. Depending on your settings, it loads JavaScript from and sends analytics data to one of these HitKeep hosts: HitKeep Cloud terms HitKeep Cloud privacy policy Self-hosted installations are controlled by your own HitKeep instance and infrastructure. Optional redirect link tracking sends server-side outbound click events from WordPress to your configured HitKeep instance when a supported redirect resolves to an external host. The current adapters support BetterLinks, PrettyLinks, ThirstyAffiliates, and other redirects that use wp_redirect. This requires a site-scoped HitKeep API client token with site.manage_data for the WordPress domain. The settings page links to the selected HitKeep instance's API client page and the API client guide. Redirect source, referrer, and target query strings are stripped before delivery. Source code The main HitKeep project is available on GitHub.

安装:

  1. Upload the plugin files to the /wp-content/plugins/hitkeep directory, or install the plugin through the WordPress plugins screen.
  2. Activate HitKeep Analytics from the Plugins screen.
  3. Open Settings -> HitKeep.
  4. Choose EU Cloud, US Cloud, or self-hosted.
  5. For self-hosted HitKeep, enter the public URL of your HitKeep instance, such as https://analytics.example.com or https://www.example.net/hitkeep.
  6. Save changes.
To enable redirect link tracking, turn on Track redirect links, use Create token in HitKeep to open the selected HitKeep instance's API client page, create a site-scoped API client token with site.manage_data, paste it into WordPress, and save again. The token is stored server-side and is not printed into public page source. Add your WordPress domain to your HitKeep instance without a leading www.. HitKeep resolves public tracker hits from the browser Origin header. For detailed setup guidance, see the HitKeep WordPress integration guide.

屏幕截图:

  • Active HitKeep plugin row with the Settings shortcut.
  • Server ingest API token field with the HitKeep API client token link and guide link.

升级注意事项:

0.3.5 Persists an intentionally disabled Do Not Track setting when saving the plugin settings for the first time. 0.3.4 Adds optional redirect-link tracking, a safer API client token setup flow, and updated WordPress.org screenshots. 0.3.3 Preserves default tracker toggles when saving plugin settings for the first time. 0.3.2 Improves links to HitKeep setup, source, terms, and privacy resources. 0.3.1 Declares compatibility with WordPress 7.0. 0.3.0 Preserves self-hosted subdirectory paths in tracker URLs and keeps opt-in Web Vitals available for HitKeep 2.5.0 installs. 0.2.0 Adds the Web Vitals switch and WordPress.org release assets. 0.1.0 Initial release of the first-party HitKeep WordPress integration.

常见问题:

Do I need a HitKeep account?

You need a HitKeep Cloud account or a self-hosted HitKeep instance.

Does the plugin set analytics cookies?

No. The plugin injects HitKeep's normal hk.js tracker. The tracker does not set analytics cookies.

Are logged-in WordPress users tracked?

No, not by default. Enable Track logged-in WordPress users in the plugin settings if you want logged-in users to load the tracker.

Can I use this with self-hosted HitKeep?

Yes. Select Self-hosted or custom domain and enter the public URL of your HitKeep instance.

Can I use this when HitKeep is mounted under a subdirectory?

Yes. Enter the full public HitKeep URL, including the path prefix, such as https://www.example.net/hitkeep. The plugin preserves that prefix when it builds the hk.js tracker URL. Your HitKeep instance and reverse proxy must also serve hk.js, hk-vitals.js, and the ingest routes under the same prefix.

Which automatic events can HitKeep track?

The normal HitKeep tracker can automatically track outbound links, file downloads, and form submissions. Each of those can be disabled from the WordPress settings page.

Does automatic form tracking collect form fields?

No. HitKeep records the form action path and method. It does not collect field values or request bodies.

Can the plugin track Web Vitals?

Yes. Web Vitals are off by default. Enable Track Web Vitals when you want HitKeep to load the same-origin vitals bundle and report compact performance samples.

Can the plugin track short-link and affiliate redirects?

Yes. Enable Track redirect links and save a site-scoped HitKeep API client token with site.manage_data in the plugin settings. Use Create token in HitKeep from the token field to open the selected HitKeep instance's API client page. When BetterLinks, PrettyLinks, ThirstyAffiliates, or another WordPress redirect resolves a short link to an external host through wp_redirect, HitKeep records a server-side outbound_click event with the short path and resolved target host/path. Same-site redirects are ignored, and source, referrer, and affiliate target query strings are not stored by default.

Where do I get the API client token for redirect tracking?

Open Settings -> HitKeep, enable Track redirect links, and use Create token in HitKeep from the server ingest API token field. HitKeep opens the API client page for the selected EU Cloud, US Cloud, or self-hosted instance. Create a personal or team API client with site.manage_data for this WordPress site, copy the token, paste it into WordPress, and save. The token is stored server-side and is not printed into public page source.

Where can I report issues?

Use the support channels listed on hitkeep.com.

更新日志:

0.3.5 0.3.4 0.3.3 0.3.2 0.3.1 0.3.0 0.2.0 0.1.0