Linux 软件免费装
Banner图

Kantan Analytics

开发者 inglewood
更新时间 2026年8月4日 04:21
PHP版本: 7.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

heatmap conversion tracking cookieless analytics user journey self hosted analytics

下载

2.29.0 2.26.0 2.27.0 2.27.1 2.20.1 2.21.0 2.21.1 2.21.2 2.22.0 2.23.0 2.23.1 2.24.0 2.25.0 2.28.0 2.28.1 2.28.2

详情介绍:

Kantan Analytics is a self-hosted WordPress analytics plugin that tracks visitors, sessions, journeys, and conversions — without cookies, external services, or data ever leaving your server. A private, self-hosted Google Analytics alternative: every metric lives in your own database. You own it. Kantan keeps every metric in your own database and answers the questions you actually have: which pages convert, where visitors come from, who keeps coming back, and what changed this week. The dashboard installs in a few minutes and runs in the WordPress admin sidebar you already use. Privacy by architecture What it tracks AI-readable analytics Kantan ships with a downloadable AI agent that reads your data through the WordPress REST API using an application password you generate. Ask it questions in plain English — "Which conversions came from organic traffic last month?", "Who are my five most engaged returning visitors?", "Draft me a paragraph about this week's biggest spike." It reads; you approve. Nothing it sees leaves your terminal unless you ask. Kantan is also an MCP server: with the MCP Adapter plugin active, one claude mcp add command connects Claude Code (or any MCP client) to 18 read-only, typed analytics tools at /wp-json/kantan/mcp — built on the WordPress Abilities API, no separate credential scheme, nothing writable by an agent. Built for self-hosting

安装:

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install it through the Plugins screen in WordPress.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. The database tables are created automatically on activation.
  4. View your analytics at Analytics in the admin menu.

屏幕截图:

  • Interactions — click region heatmap, scroll-depth distribution, and top-clicked elements.
  • Journeys — page-by-page navigation paths for named, persistent visitors.
  • Realtime — visitors active in the last five minutes with current page and traffic source.
  • Settings — retention, IP exclusion, conversion link rules, and the AI agent download.

升级注意事项:

2.11.0 New Conversions tab; dashboard assets bundled locally (no CDN); privacy-policy text added to Settings → Privacy. Safe upgrade — no manual steps. 2.10.0 Adds a Realtime tab and live visitor-count badge. Safe upgrade — no manual steps.

常见问题:

Does this use cookies?

No. Kantan uses browser localStorage to recognise returning visitors, never cookies. No consent banner is required in most jurisdictions, and no cross-site tracking is possible.

Where is the data stored?

All data is stored in your WordPress database in wp_kantan_* tables, with daily aggregates in a local SQLite file under wp-content/uploads/kantan/. Nothing is sent to external servers.

How is traffic source detected?

The tracking script categorizes referrers automatically:

  • Organic: Google, Bing, Yahoo, DuckDuckGo, Baidu
  • Social: Facebook, Twitter, Instagram, LinkedIn, Pinterest, TikTok
  • Referral: Other external sites
  • Direct: No referrer or same domain
UTM parameters override referrer-based detection when present, and they stay attached to the visitor through every page and conversion in the session.

Does this slow down my site?

No. The tracking script loads asynchronously after page content and uses sendBeacon for exit tracking. There are no blocking requests, no third-party domains, and no external CDNs. Performance impact is well under 10ms.

Is this GDPR / CCPA / ePrivacy compliant?

Kantan is designed for privacy-first compliance under modern privacy law: no cookies, no IP storage, no cross-site tracking, and — unless you switch on the optional Attribution Webhook — no data leaves your server. In most jurisdictions you do not need a consent banner to use it. We're not lawyers — confirm with yours — but architecturally the tool is built for privacy-first compliance rather than retrofitting it.

Will this work with caching plugins (WP Rocket, W3 Total Cache, etc.)?

Yes. The tracking script is loaded via standard wp_enqueue_script and runs client-side, so cached pages still record visits correctly. The only thing to watch for is plugins that delay or defer JavaScript so aggressively that visitors leave before the script fires — exclude kantan-analytics/assets/tracking.js from any "delay JS until interaction" rule and you'll be fine.

Can I import data from Google Analytics?

Not currently. Kantan starts tracking the moment you activate it, and historical GA data has a different structure that doesn't map cleanly. If GA→Kantan import is something you need, drop us a note at https://trykantan.com.

What happens to my data if I deactivate the plugin?

Nothing — your data stays in the database. Deactivating just stops new tracking and hides the dashboard. If you uninstall (delete) the plugin, the tables remain unless you explicitly drop them; this is standard WordPress behavior and lets you reactivate without losing history.

How do I exclude my own visits, or specific staff IPs?

Logged-in admins are excluded by default. The Settings tab also lets you exclude specific IP addresses (one per line). Common bot user-agents are filtered automatically.

What's the AI agent?

A downloadable .md file from the dashboard that turns any AI coding agent (Claude Code, Gemini CLI, and compatible tools) into a read-only analyst for your site. It uses a WordPress application password you generate, calls the REST API, and answers questions in plain English. It only reads — nothing it sees leaves your terminal unless you ask.

Does this work with WordPress multisite?

Yes — install at the network level or per-site. Each site gets its own tables and its own dashboard. There's no aggregated network-wide view yet; that's on the roadmap.

更新日志:

2.29.0 2.28.2 2.28.1 2.28.0 2.27.1 2.27.0 2.26.0 2.25.0 2.24.0 2.23.1 2.23.0 2.22.0 2.21.2 2.21.1 2.21.0 2.20.1 2.20.0 2.19.0 2.18.0 2.17.0 2.16.1 2.16.0 2.15.0 2.14.1 2.14.0 2.13.1 2.13.0 2.12.1 2.12.0 2.11.5 2.11.4 2.11.3 2.11.1 2.11.0 2.10.0 2.9.9 2.9.8 2.9.7 2.9.6 2.9.5 2.9.4 2.9.3 2.9.0 2.8.0 2.7.0 2.6.0 2.0.0 1.0.0