| 开发者 | citcom0wpteam |
|---|---|
| 更新时间 | 2026年10月14日 19:42 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
citcom-customer-insights folder to /wp-content/plugins/ or install via the WordPress Plugins → Add New screen.Yes. WooCommerce is optional. Without it, the WooCommerce tab is hidden on user profiles and the Product Insights section (Pro) is unavailable. Everything else works the same.
If a supported consent management plugin is active (any plugin implementing the WP Consent API, or Cookies Banner & Privacy Suite (WPConsent)), tracking is automatically gated behind the visitor's statistics consent and no cookie is set before it. Without a consent plugin, visits are recorded by default, so it is the site owner's responsibility to disclose this in their privacy policy; the plugin registers suggested policy text to help with that.
Device, browser and operating system come from the browser's user-agent string, with no third-party service. Modern iPads identify themselves as Macs, and many Android tablets as phones, so those sessions are labelled that way. Windows 10 and 11 send the same identifier and are shown as "Windows 10/11".
Yes. Pages are tracked by a small request the page sends after it loads, which carries no expiring code, so a page served from a cache days later is still recorded. If you turn on guest tracking after a page was cached, that page records guest visits once the cache is cleared.
Tracking is performed by one lightweight, non-blocking request after the page has loaded, so it never delays the page itself. The visitor-facing script is a single dependency-free file of about 7 kB, loaded in the footer. Database writes are single-row inserts on the plugin's own indexed tables, and a visitor sending more than 30 tracking requests a minute is ignored.
Page URL, page title, referrer, visit time, time on page, session records with device/browser/OS and an IP address (anonymised by default: the last octet of an IPv4 address and the last 80 bits of an IPv6 address are zeroed), plus billing name and email for guests identified at WooCommerce checkout. Two cookies are used, both set by the tracking request rather than by the page itself: citccuin_session (session lifetime) and citccuin_guest_id (one year, guests only). All data stays in your own database; nothing is ever sent to an external service.
Data recorded by this plugin is included in WordPress's built-in privacy tools: Tools → Export Personal Data and Tools → Erase Personal Data (works for registered users and for guests identified by email). You can also delete everything at once from the Danger Zone on the Settings page. Old page views and sessions are pruned automatically after the configured retention period, along with guests who never created an account and have not returned within it. Ticking "Delete data on uninstall" removes the plugin's tables and settings when it is uninstalled.
<style> output — all admin CSS/JS is loaded via wp_enqueue_style/wp_enqueue_script, and the Danger Zone confirmation moved from an inline onsubmit attribute into the admin script.