#plugin-information .section h2{clear:none!important;}';
echo '';
}
/**
* Provide plugin info modal content.
*
* @param false|object|array $result Existing result.
* @param string $action Action.
* @param object $args API args.
* @return false|object
*/
public static function plugins_api($result, $action, $args)
{
if ('plugin_information' !== $action) {
return $result;
}
if (empty($args->slug) || 'a360-insights' !== $args->slug) {
return $result;
}
$plugin_info = new stdClass();
$plugin_info->name = 'A360 Insights'; // 'A360 Insights';
$plugin_info->slug = 'a360-insights';
$plugin_info->version = A360_INSIGHTS_VERSION;
$plugin_info->author = 'Igor Rubas/A360';
$plugin_info->author_profile = 'https://a360.pl';
$plugin_info->homepage = 'https://a360.pl/a360-insights';
$plugin_info->requires = '6.0';
$plugin_info->tested = A360_INSIGHTS_TESTED_UP_TO;
$plugin_info->requires_php = '7.4';
$plugin_info->last_updated = gmdate('Y-m-d');
$plugin_info->sections = array(
'description' => self::get_description(),
'installation' => self::get_installation(),
'faq' => self::get_faq(),
'changelog' => self::get_changelog(),
'website' => self::get_site(),
);
$plugin_info->banners = array(
'low' => A360_INSIGHTS_URL . 'assets/banner-772x250.png',
'high' => A360_INSIGHTS_URL . 'assets/banner-1544x500.png',
);
$plugin_info->icons = array(
'1x' => A360_INSIGHTS_URL . 'assets/icon-128x128.png',
'2x' => A360_INSIGHTS_URL . 'assets/icon-256x256.png',
);
return $plugin_info;
}
private static function get_description()
{
return '
A360 Insights — AI Traffic Analytics for WordPress
A360 Insights helps WordPress site owners understand how visitors discover their content
through AI assistants, answer engines, search engines, referrals, and campaigns.
Track traffic from ChatGPT, Gemini, Copilot, Perplexity, Claude, OpenAI, Codex,
Google, Bing, referrers, and UTM campaigns directly from your WordPress dashboard.
No cookies. No IP tracking. No external analytics account required. Your analytics data
stays inside your own WordPress database.
Key Features
- AI traffic detection and reporting
- ChatGPT, OpenAI, Codex, Gemini, Claude, Copilot, and Perplexity tracking
- AI Traffic Share reporting
- Top AI Sources statistics
- Traffic trend filtering by AI source and referrer
- Search engine traffic analytics
- Referral traffic monitoring
- UTM campaign tracking
- Built-in WordPress dashboard widget
- Post and page statistics modal
- AI source statistics modal
- Detailed traffic statistics and trends
- CSV export
- Bot and prefetch filtering
- Data retention controls
- Custom post type support
- Multilingual-ready interface
Privacy First
A360 Insights stores analytics data locally in your WordPress database.
No third-party analytics account is required.
The plugin does not store:
- Visitor IP addresses
- User IDs
- Cookies
- User-agent strings
- Personally identifiable information (PII)
Why A360 Insights?
Google Analytics can report AI traffic, but finding and interpreting that data can be complicated.
A360 Insights makes AI visitor analytics simple by showing AI, search, referral, and campaign traffic directly inside WordPress.
See which content attracts visitors from AI assistants and understand how your website performs across modern discovery channels.
';
}
private static function get_installation()
{
return '
- Install plugin.
- Activate plugin.
- Configure settings.
After activation, you can view analytics data in the "A360 Insights" admin menu.
For more details, see the plugin website.
For support, please visit the support forum.
Tracking scope
can be configured in settings. By default, all post types are tracked.
Tracking mode
can be set to "All views" or "Unique views". "Unique views" counts only one view per visitor per day, while "All views" counts every view.
Traffic filtering
allows you to exclude views from specific referrers, user agents, or IP addresses. This can be useful for filtering out bot traffic or internal views.
Exclude views
from logged-in users can be enabled to prevent counting views from site administrators or editors. This is useful for getting more accurate analytics data.
Bot filtering
is enabled by default and uses a built-in list of known bot user agents to exclude bot traffic from analytics data. You can also add custom user agents to the filter list.
Privacy and data retention
settings allow you to control how long analytics data is stored in the database and whether to remove all plugin data on uninstall. By default, data is retained for 90 days and is not removed on uninstall.
Traffic details
include referrer URLs and UTM campaign parameters, which can help you understand where your traffic is coming from and how your campaigns are performing.
Data retention controls
allow you to automatically delete old analytics data after a specified number of days. This helps keep your database clean and ensures that you are not storing data longer than necessary.
Uninstalling the plugin does not remove analytics data by default, allowing you to keep your data if you decide to reinstall the plugin later. However, you can enable the option to remove all plugin data on uninstall if you prefer a clean slate.
Data Management
section allows you to manually delete all analytics data or export it as a CSV file for further analysis. This gives you full control over your analytics data and allows you to keep backups if needed.
';
}
private static function get_faq()
{
return '
Can I track ChatGPT traffic in WordPress?
Yes. A360 Insights detects traffic from ChatGPT and other AI assistants, then shows AI traffic directly inside your WordPress dashboard.
Which AI traffic sources are supported?
A360 Insights can classify traffic from AI and discovery platforms such as ChatGPT, OpenAI, Codex, Gemini, Claude, Copilot, Perplexity, Meta AI, Mistral, You.com, Poe, Phind, DeepSeek and Grok.
Is this a Google Analytics alternative?
A360 Insights is a lightweight WordPress analytics plugin focused on AI traffic, referrers, search traffic, campaigns and content performance. It is not intended to replace every advanced Google Analytics report, but it gives website owners a simple way to see important traffic data directly inside WordPress.
Does this show AI referrals and AI Traffic Share?
Yes. The dashboard includes AI Traffic, AI Traffic Share, Top AI Sources and source-level statistics.
Does A360 Insights use cookies?
No. A360 Insights does not use cookies.
Does it store IP addresses?
No. Visitor IP addresses are never stored.
Does it send data to third-party services?
No. All analytics data remains in your WordPress database.
Can I export statistics?
Yes. CSV export is included.
Can I remove plugin data on uninstall?
Yes. This can be enabled in settings.
Does it support custom post types?
Yes.
';
}
private static function get_changelog()
{
return "
1.4.0
- Added enhanced engagement event tracking for outbound clicks, file downloads, phone clicks, email clicks, form starts and form submits.
- Added event labels for engagement diagnostics so recent events show the clicked URL, file, phone, email or form identifier.
- Expanded Engagement reporting beyond scroll depth while keeping page view counters unchanged.
- Added a database upgrade for anonymous engagement event labels.
1.3.0
- Added Settings tabs for Tracking, Diagnostics and Client Reports.
- Added a central Client Reports manager for creating report links for posts, pages and landing pages.
- Added a recent report links list with status, expiration dates and disable/revoke controls.
- Improved client report link management without changing existing tracking, UTM, AI or search classification behavior.
1.2.0
- Added private client report links for sharing selected post or landing page analytics without WordPress admin access.
- Added disable/revoke controls and optional expiration dates for client report links.
- Added anonymous scroll depth engagement events for 25%, 50%, 75% and 90% scroll thresholds.
- Added engagement reporting UI for scroll depth metrics.
- Added a dedicated engagement events table so scroll events do not increase page view counts.
- Added browser-side document.referrer repair to update recent direct views when the browser can see a referrer that PHP did not receive.
- Added Google Business Profile and Google Maps referrer detection, including Maps, local, posts.gle and maps.app.goo.gl signals.
- Added temporary full referrer diagnostics for inspecting raw request paths, sources, referrer hosts and full HTTP referrers.
- Recent full referrers are now shown only when full referrer diagnostics are enabled.
1.1.10
- Added Google Business Profile and Google Maps referrer detection, including Maps, local, posts.gle and maps.app.goo.gl signals.
- Added temporary full referrer diagnostics for inspecting raw request paths, sources, referrer hosts and full HTTP referrers.
- Added browser-side document.referrer repair to update recent direct views when the browser can see a referrer that PHP did not receive.
- Added anonymous scroll depth engagement events for 25%, 50%, 75% and 90% scroll thresholds.
- Added a dedicated engagement events table so scroll events do not increase page view counts.
- Added private client report links for sharing selected post or landing page analytics without WordPress admin access.
- Added engagement reporting UI for scroll depth metrics.
- Added diagnostics for recent full referrers and recent engagement events.
1.1.9
- Improved WordPress.org plugin description and feature messaging for global discovery.
- Added clearer AI traffic, AI referrals and ChatGPT traffic positioning.
- Added new FAQ entries for ChatGPT traffic, AI referrals and Google Analytics positioning.
- Improved screenshot captions for better WordPress.org marketplace presentation.
- Updated readme feature list to better describe dashboard, source filtering and AI source statistics.
- Updated plugin header description for clearer marketplace messaging.
1.1.8
- Added dashboard interface translations for Spanish, French, Dutch, Portuguese and Italian.
- Fixed WordPress Plugin Check warnings related to prepared SQL placeholder counting.
- Improved SQL preparation compatibility with WordPress.org plugin review tools.
- No tracking behavior or database schema changes.
1.1.7
- Added source filtering for the Traffic Trend chart from AI Traffic and Top Referrers tables.
- Improved the WordPress dashboard widget with AI-focused summary metrics.
- Added clickable AI source statistics modals from the WordPress dashboard widget.
- Added clearer empty states and help text for new installations.
- Added an AI Sources Overview to the main analytics dashboard.
- Improved AI Sources Overview layout with responsive internal scrolling.
- Added an onboarding notice after plugin activation.
1.1.6
- Added AI source detection for Meta AI, Mistral, You.com, Poe, Phind, DeepSeek and Grok.
- Improved UTM source classification for additional AI discovery platforms.
- Improved AI traffic grouping across dashboard, post statistics and traffic reports.
1.1.5
- Added AI source detection for Meta AI, Mistral, You.com, Poe, Phind, DeepSeek and Grok.
- Improved UTM source classification for additional AI discovery platforms.
- Improved AI traffic grouping across dashboard, post statistics and traffic reports.
1.1.4
- Fixed AI source detection when UTM source values contain domains such as chatgpt.com or copilot.com.
- Added Codex traffic classification as an AI source.
- Improved AI traffic classification for ChatGPT, OpenAI, Codex, Gemini, Copilot, Perplexity and Claude.
- Fixed Recent Visits in the post statistics modal to respect the selected date range.
- Improved dashboard widget top content links so they can open the statistics modal.
- Improved plugin details modal banner display in the WordPress Plugins screen.
- Refined dashboard analytics panel layout and scroll behavior.
- Minor UI and stability improvements.
1.1.3
- Added AI Traffic Analytics dashboard.
- Added AI Traffic Share reporting.
- Added AI source detection for ChatGPT, Gemini, Claude, Copilot, OpenAI and Perplexity.
- Added Top AI Sources statistics.
- Improved traffic source classification and reporting.
- Updated plugin screenshots and documentation.
- Performance and stability improvements.
- Various bug fixes.
- Added sorting by Views column in Posts, Pages and Custom Post Types.
- Fixed Views column visibility when post types are disabled in Settings.
- Improved Custom Post Type support in admin tables.
- Improved Quick Status information in Settings.
- Replaced Views text header with a compact analytics icon.
- Fixed post type column registration logic.
- Various UI and usability improvements.
1.1.2
- Added dashboard summary widget.
- Added traffic source reporting.
- Added CSV export improvements.
- Improved bot and crawler filtering.
- Improved data retention management.
- Performance optimizations.
1.1.0
- Added page and post analytics.
- Added referrer tracking.
- Added UTM campaign tracking.
- Added privacy-friendly analytics architecture.
- Added custom post type support.
1.0.0
";
}
private static function get_site()
{
return '
Plugin Website
Learn more about A360 Insights, documentation, updates, and support:
';
}
}