=== Miro AI SEO Pro ===
Contributors: mirolabs
Tags: seo, ai, google search console, analytics, keywords
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Powerful AI-first SEO suite with Google Search Console integration, keyword research, content optimization, and more.

== Description ==

Miro AI SEO Pro is a comprehensive WordPress SEO plugin that combines AI-powered content optimization with Google Search Console analytics to help you improve your search rankings and organic traffic.

= Key Features =

* **Google Search Console Integration** - Connect your GSC account to track keywords, clicks, impressions, and positions
* **AI-Powered Content Tools** - Rewrite titles, meta descriptions, and generate SEO-friendly content
* **Keyword Lab** - Discover and group keywords with AI assistance
* **Trend Finder** - Discover trending topics and content opportunities
* **Internal Links Manager** - Smart suggestions for internal linking
* **ALT Text Fixer** - Bulk fix missing image ALT attributes
* **Fix Center** - CTR optimization for underperforming pages
* **404 Monitor** - Track and manage 404 errors
* **Index Monitor** - Monitor your content's indexing status
* **BYOK (Bring Your Own Key)** - Use your own OpenAI/Gemini API keys for AI features

= Requirements =

* WordPress 5.0 or higher
* PHP 7.4 or higher
* Google Search Console account (optional, for analytics features)
* OpenAI or Google Gemini API key (optional, for AI features)

= Installation =

1. Upload the plugin files to `/wp-content/plugins/miro-ai-seo` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to 'Miro AI SEO' in the WordPress admin menu
4. Configure your API keys and connect Google Search Console (optional)

= Frequently Asked Questions =

= Does this plugin require external services? =

Core functionality works offline. Google Search Console integration and AI features require API keys (BYOK - Bring Your Own Key).

= Can I use this without API keys? =

Yes, most features work without API keys. AI features (content generation, rewriting) require OpenAI or Gemini API keys.

= Is Google Search Console required? =

No, it's optional. Connect it to access analytics, keyword tracking, and performance insights.

= Support =

For support and documentation, visit https://miroseo.com

= Data & Privacy =

**Local Storage:**
* Options: Plugin settings, API keys (OpenAI/Gemini), GSC connection data
* Transients: Temporary cache data for GSC queries and API responses
* Post Meta: Focus keywords, index status, index details per post/page
* Custom Tables: 404 log (miro_404_log), rank tracker data (miro_rt_keywords, miro_rt_snapshots, miro_rt_competitors), internal links index (miro_ilx_index, miro_ilx_edges)

**External Calls:**
* Google Search Console API: For analytics, keyword data, and performance metrics (only when connected)
* OpenAI API: For AI-powered content generation and optimization (only when API key provided)
* Google Gemini API: Alternative AI service for content generation (only when API key provided)

**Data Deletion:**
The plugin's uninstall process removes all plugin data including options, transients, post meta, and custom tables. To uninstall, deactivate the plugin through WordPress admin, then click "Delete" to permanently remove all data.

== Changelog ==

= 1.0.0 =
* Initial release
* Google Search Console integration
* AI-powered content tools
* Keyword research and grouping
* Internal links manager
* ALT text fixer
* CTR optimization tools
* 404 and index monitoring
* BYOK API key support

== Upgrade Notice ==

= 1.0.0 =
Initial release of Miro AI SEO Pro.

== Credits ==

This plugin uses the following third-party libraries:

* Chart.js (https://www.chartjs.org/)
  - License: MIT License
  - Copyright (c) 2014-2024 Chart.js Contributors
  - Used for: Analytics charts and data visualization in GSC Analytics module
  - License URL: https://github.com/chartjs/Chart.js/blob/master/LICENSE.md

* Flag Images
  - Source: flagcdn.com
  - Used for: Country flag display in analytics
  - Note: Flags are loaded dynamically from flagcdn.com CDN. Please refer to flagcdn.com for their terms of service and usage policies.

