Description
FPAI is a privacy-friendly analytics plugin that collects visitor data directly on your WordPress database. No cookies, no external tracking, no data sent to third parties.
Use your own AI (Claude, ChatGPT, Gemini, Grok, and more) to analyze your site’s performance — right from the WordPress admin.
Key Features
- Cookie-free tracking — No consent banners needed
- First-party data — All data stored in your MySQL database
- Built-in AI chat — Ask questions about your analytics in natural language
- 9 AI providers — Claude, GPT, Gemini, Grok, Perplexity, Mistral, DeepSeek, Cohere, Qwen
- Dashboard — Visitors, sessions, pageviews, bounce rate, duration, conversions
- Top pages — With scroll depth and time on page
- Referrer analysis — Traffic sources with bounce rates
- Device breakdown — Desktop, mobile, tablet with browser and OS
- UTM campaign tracking — Source, medium, campaign performance
- Conversion goals — Page view, form submit, or click triggers
- Data export — JSON and CSV download for external analysis
- Multilingual — English and Japanese (switchable in admin)
FPAI Pro (separate plugin)
FPAI Pro is a separate plugin that extends FPAI with advanced event tracking. It is distributed independently from fpai.orora.co.jp and is not part of this plugin.
External Services
This plugin optionally connects to external AI services. No data is sent to any external service without your explicit action (entering an API key and submitting a query).
AI Analysis (Optional)
When you enter your own API key and submit a query in the AI Analysis page, your site’s aggregated analytics data (session counts, top pages, referrers — no raw visitor data or PII) is sent to the AI provider you selected. Your API key is stored locally in your WordPress database and is never transmitted to FPAI or anyone other than your chosen provider.
This plugin supports the following AI providers (all optional, user-configured):
- Anthropic (Claude) — https://api.anthropic.com — Terms of Service | Privacy Policy
- OpenAI (GPT) — https://api.openai.com — Terms of Service | Privacy Policy
- Google (Gemini) — https://generativelanguage.googleapis.com — Terms of Service | Privacy Policy
- xAI (Grok) — https://api.x.ai — Terms of Service | Privacy Policy
- Perplexity — https://api.perplexity.ai — Terms of Service | Privacy Policy
- Mistral — https://api.mistral.ai — Terms of Service | Privacy Policy
- DeepSeek — https://api.deepseek.com — Terms of Service | Privacy Policy
- Cohere — https://api.cohere.com — Terms of Service | Privacy Policy
- Alibaba (Qwen) — https://dashscope-intl.aliyuncs.com — Terms of Service | Privacy Policy
No other external connections are made. All assets including Chart.js are bundled with the plugin. No CDNs, tracking pixels, or telemetry.
Installation
- Upload the plugin folder to
/wp-content/plugins/ - Activate through the WordPress Plugins menu
- Go to FPAI > Settings to configure tracking options
- Optionally add your AI API key (Claude, GPT, etc.) for built-in analysis
- Visit your site — tracking starts automatically
FAQ
-
Does this replace Google Analytics?
-
Yes. FPAI tracks pageviews, sessions, referrers, UTM parameters, devices, scroll depth, and more. You can also ask AI to analyze your data in natural language.
-
Where is the data stored?
-
All data is stored in your WordPress MySQL database. Nothing is sent to external servers for tracking.
-
Do I need an AI API key?
-
No. The AI chat feature is optional. FPAI works as a standalone analytics tool without it. If you want AI analysis, you provide your own API key from any supported provider.
-
No. FPAI uses localStorage for session management. No cookies are set.
-
Will this slow down my site?
-
The tracker script is lightweight (~3KB) and loads asynchronously. Data is sent via the Beacon API in the background with no impact on user experience.
-
Is this GDPR compliant?
-
FPAI is designed with privacy in mind: no cookies, no external tracking, IP addresses are hashed. However, consult your legal advisor for your specific compliance requirements.
Reviews
Contributors & Developers
“FPAI – First-Party AI Analytics” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “FPAI – First-Party AI Analytics” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.1
- セキュリティ: 計測エンドポイントの堅牢性を向上
1.0.0
- Initial release
- First-party tracking (pageviews, sessions, scroll depth, clicks, forms, media, errors)
- Analytics dashboard with Chart.js
- AI analysis chat with 9 provider support
- CSV/JSON data export
- Conversion goal tracking (pageview, form, click triggers)
- Multilingual admin (English / Japanese)
- Rate-limited collection endpoint
