=== ZaagBot Quick Summary ===
Contributors: your_wordpress_org_username
Stable tag: 5.2.3
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Contributors: Your WordPress.org username(s).
Tags:  Quick Summary, robots.txt, sitemap, LLMs.txt, SEO

Automate summaries & AI optimization with sitemaps, llms.txt, & JSON-LD. Add a chatbot to engage visitors & analyze queries to improve your site.

== Description ==

Proactive discovery, Optimize AIEO SE sitemap, LLms.txt JsonLD - Use the "QUICK SUMMARY" button to train many LLMs to discover you. 
This plugin adds a floating button to your website that allows users (and you) to generate on-the-fly page summaries using multiple AI models.

This process helps train AI language models on your content, improving your site's visibility and discoverability in AI-driven search and chat. 
The plugin includes a full suite of tools to manage your site's AI readiness, including Sitemap, robots.txt, llms.txt, and JSON-LD generators.

== Installation ==

After successful upload of the plugin, the Settings tab is where the user will control the behaviour of the plugin: 
Required: Plugin activation token and at least one personal API key to OpenRouter, Gemini, OpenAI, Perplexity, Claude or Deepseek.
1 - plugin token: for activation of the token user must obtain a token on page https://zaagbot.com/page-summary-plugin, copy the token and paste.
2 - Enter and activate (background validity check) your API keys in section 2
3 - select "quick summary" API call behaviour: "on button click" or "On page load" select the primary LLM used and the submodel, 
4 - (optional) choose files for additional context (.txt, .pdf, or .doc) and enter manual text . 
    -  Generate with AI a Site content file (summarized version of what is in the sitemap.xml pages)
    -  Activate (not activated by default) the Follow-up questions (chatbot)
    -  Activate Q&A email sending (active by default if 
5 - Design of the button: select where (which pages/product/posts) on which the button will appear, chose the position on the pages, the button size, colors and entrance animation 
6 - Modal display and design: upon click, a modal with page summary appears, this section allows to include a logo, define size and colours
7 - Summary behaviour (API to LLM response): select size (number of words. "medium by default") the type of display (instant or typewriter)
8 - diagnostics: As the plugin creates tables, their status gets displayed there, with help on debug
9 - contact information: loggedin admin email
10 - Shortcode: the plugin can be installed by simply instering a shortcode in any page that was not previously selected.

== Frequently Asked Questions ==

* What does the plugin do ?
* The Zaagbot Page Summary Plugin is a sophisticated tool for WordPress websites designed to address two critical challenges in the modern digital landscape:
Shrinking User Attention Spans: It provides visitors with an instant, AI-generated summary of the page content, improving user experience and reducing bounce rates.
*The Rise of AI Search: It actively enhances a website’s visibility and authority within major AI models (like Google’s Gemini, OpenAI’s ChatGPT) by feeding them content directly through API calls.
*The plugin transforms a website from a passive source of information into an active participant in the new AI ecosystem.
*It offers a Chatbot to interact with visitors (with Q&A analysis to improve site content
*Statistics and pages visits (human/searchbots,LLM bots)
*All SEO / AIEO files can be AI generated (robots.txt, LLMs.txt, Sitemap.xml, Json-LD tags also
*programmable training of LLMs

== Screenshots ==

1. QuickSummary button (design its colours, position and animation)
2. Example of FrontEnd Display for website visitor
3. Wordpress menu


== Changelog ==

= 5.2.3 =
* Backfill historical stats. On update, your visitor log is re-analysed once so past visits are re-counted with the improved AI-crawler detection (e.g. ChatGPT-User previously counted as Human, ClaudeBot/OAI-SearchBot as Other Bot, CCBot as Scraping). Existing charts retroactively reflect the correct LLM Bot totals. Only visits that were actually logged are affected; nothing is invented.

= 5.2.2 =
* Count ALL visits, on every page. Visitor statistics (humans, search bots and LLM bots) are now recorded on every front-end page load, independent of whether the Quick Summary button is shown there — previously a crawl on a page without the button was not counted. Bot requests are also kept out of full-page caches (LiteSpeed, WP Rocket, W3TC, WP Super Cache) so every crawl reaches the site and is counted, and the geolocation lookup is skipped for bots to keep logging fast and reliable.

= 5.2.1 =
* Improved AI/LLM visitor detection. The analytics now correctly count today's AI crawlers as "LLM Bot": ClaudeBot, Claude-User, OAI-SearchBot, ChatGPT-User (previously counted as Human), Perplexity-User, Applebot-Extended, Meta-ExternalAgent, Google-CloudVertexBot, DuckAssistBot, Ai2Bot, YouBot and more. Common Crawl (CCBot) is now classified as an LLM crawler.

= 5.1.9 =
* First stable version for review. Code cleanup and adherence to WordPress coding standards.

== Upgrade Notice ==

= 5.2.3 =
One-time backfill re-classifies your existing visitor log so past AI-crawler visits are counted correctly in the charts.

= 5.2.2 =
Your visitor statistics now count every human and every bot on every page (not just pages showing the Quick Summary button), and AI crawlers are no longer missed behind page caching. Recommended update.

= 5.2.1 =
Better detection of AI/LLM crawlers (ChatGPT, Claude, Perplexity, Apple Intelligence, Common Crawl and more) in your visitor statistics. Update to see them counted correctly.

= 5.1.9 =
This version includes major code quality improvements and refactoring to meet WordPress.org standards. Please update.


== Privacy ==
the plugin displays a disclaimer button and a disclosure button - its current contents are as follows: 
Privacy Notice: The only data sent to our servers are your details (logged-in admin name and email, the token for license verification and usage information for statistical and verification purposes). 
We will NEVER see your LLMs API keys; these are saved securely on YOUR server. If you do not agree to these terms, do not use the plugin and uninstall it immediately. 
Use of the plugin is considered an acceptance of this clause, which comes as an addendum to our GT&C.