=== Convertus – AI Website Personalization & Ads Automation ===
Contributors: convertus
Tags: personalization, google ads, ai, ppc, conversion
Requires at least: 6.3
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Personalize your existing page content, track visitor behavior, build segments, and connect your site with Convertus AI ads automation - all no code.

== Description ==

Convertus personalizes your website content for each visitor segment in real time. This plugin is a thin connector: it links your WordPress site to your Convertus account and installs the personalization snippet correctly — including an early anti-flicker step and exclusions so caching/optimization plugins don't break it. All configuration (segments, content variants, analytics) lives in your Convertus dashboard.

* One-click connect — no API keys to copy or paste.
* Caching-plugin compatibility for WP Rocket, LiteSpeed Cache, Autoptimize, SiteGround Speed Optimizer, and Cloudflare Rocket Loader.
* Free-forever tier (volume-limited) — personalization keeps working after any trial. Nothing in this plugin is paywalled.

= AI Google Ads automation (optional) =

Convertus is more than personalization. Give it a campaign topic and its AI builds a complete Google Ads Search campaign — data-backed long-tail keywords, ad groups, and ad copy written to match your on-page content, so your ads and landing pages tell one story. Campaigns run with Google AI Max on, so your ads reach AI-powered and conversational searches, not just exact keywords. You review and publish from your dashboard, and AI agents optimize the campaign every week from its performance data. Available on free-trial for everyone and on paid plans afterwards.

See the AI Google Ads automation in action:

https://www.youtube.com/watch?v=nKaHbe18sjM

= External service =

This plugin connects your site to Convertus, a third-party SaaS operated by Convertus (https://convertus.ai). It is required for the plugin to function.

* On "Connect", you authorize the link in your Convertus dashboard, and your site stores a secure connection token.
* On each page view, the personalization script is loaded from cdn.convertus.ai and your visitor's browser communicates with api.convertus.ai to fetch personalized content.
* The personalization script sets two first-party cookies to tell returning visitors apart and keep their session. They contain only randomly generated values; see the Convertus Privacy Policy for details.

By connecting, you agree to the Convertus Terms of Use (https://convertus.ai/terms/) and Privacy Policy (https://convertus.ai/privacy-policy/). You remain responsible for your own visitor-consent obligations, as with any analytics or tracking tool.

== Installation ==

1. Create a free Convertus account at https://app.convertus.ai/register and verify your email, then return to your WordPress admin — nothing else to set up on the web app first.
2. Install and activate the plugin.
3. Go to Settings → Convertus.
4. Click "Connect to Convertus" and authorize the site in your Convertus dashboard.
5. Done — the snippet is injected automatically. Manage everything from your dashboard.

== Frequently Asked Questions ==

= Do I need a Convertus account? =
Yes. You can connect (and authorize) an existing account in one click. A free-forever tier is available.

= Does this require any coding? =
No. Connect in one click and the snippet is injected automatically. You build and manage everything — segments, one-click content variants of the whole page, and autopilot AI campaigns — visually in your Convertus dashboard.

= How soon does it work? =
Immediately. The moment you connect, the snippet starts tracking visitor behavior, and personalization goes live as soon as you publish your first content variant — no waiting.

= Do I need to set up event tracking? =
No. The snippet automatically captures your existing Google Tag Manager and Google Analytics dataLayer events, plus any custom events — so you can build audience segments and personalize from day one. If your events carry values, you can segment on them too: contains a value, or greater than / less than a numeric threshold.

= My caching/optimization plugin is delaying JavaScript — will personalization still work? =
Yes. The plugin automatically excludes its snippet from JS combine/defer/delay for WP Rocket, LiteSpeed, Autoptimize, SiteGround Speed Optimizer, and Cloudflare Rocket Loader. The Settings → Convertus page shows which optimizers it detected. If you use a different optimizer, exclude `index.global.js` from its JS-delay/defer settings.

= What happens when I disconnect or uninstall? =
The plugin revokes its connection token with Convertus and removes its stored settings. Personalization stops immediately.

== Changelog ==

= 1.0.1 =
* Listing update: refined plugin title, added an event-clustering screenshot, and caption polish. No functional changes.

= 1.0.0 =
* Initial release: one-click connect, snippet injection with anti-flicker, and caching-plugin exclusions.

== Screenshots ==

1. Before / after — one click rewrites your page live for each visitor segment, on the same URL.
2. Personalization dashboard — AI-generated variants for every headline and paragraph, with original vs. personalized side by side.
3. Segments — target visitors by events, UTM parameters, or clusters, with plain-language descriptions the AI uses.
4. Event clustering — the AI groups visitors into behavioral segments, ready to personalize.
5. One prompt in, a full Google Ads campaign out — AI crawls your page, selects audiences, structures ad groups, and writes keywords & ad copy.
6. Review the AI draft before anything ships — budget, locations, audiences, headlines, and keywords with real search volumes.
7. Approved campaigns go live in your Google Ads account — nothing publishes without your approval.
8. Campaign performance — impressions, clicks, conversions, CPA, and daily trends by ad group.
9. Weekly AI optimization — safe changes auto-applied, the rest awaiting review, summarized in an email digest.
10. Connected in one click from wp-admin — no code, no API keys.
