| 开发者 | kissmetricshq |
|---|---|
| 更新时间 | 2026年7月28日 23:20 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
kissmetrics folder to /wp-content/plugins/, or install it from the Plugins screen in your WordPress dashboard.Plugins menu and activate Kissmetrics.Settings → Kissmetrics.In your Kissmetrics account under Settings: https://app.kissmetrics.io/settings
Yes. Enable Track purchases under the WooCommerce section of the settings screen. The plugin records a Purchased event on the order-received page and identifies the buyer by billing email.
Yes. Page context (homepage, search, etc.) is detected server-side with WordPress conditional tags rather than theme CSS classes, so events fire correctly on modern block themes.
No. The Kissmetrics library loads asynchronously and is only output once an API key is configured.
get_currentuserinfo() with wp_get_current_user().esc_js/wp_json_encode) before output; unslash and sanitize all superglobals.wp_add_inline_script), added text domain/i18n, uninstall.php, and direct-access guards.