=== Rootabl ===
Contributors: rootabl
Tags: affiliate, tracking, referral, marketing, rootabl
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

Easily integrate Rootabl affiliate tracking into your WordPress site.

== Description ==

Rootabl is a lightweight plugin that adds the [Rootabl](https://rootabl.com) affiliate tracking script to your WordPress site. Simply enter your Business ID in the settings and start tracking affiliate referrals automatically.

**Features:**

* One-click setup — just enter your Business ID
* Lightweight — no local scripts or stylesheets added
* Clean uninstall — removes all data when deleted
* Multisite compatible

**Third-Party Service**

This plugin connects to the [Rootabl](https://rootabl.com) external service to provide affiliate tracking functionality. When configured, a tracking script is loaded from `app.rootabl.com` on all public-facing pages of your site.

* Service URL: [https://app.rootabl.com](https://app.rootabl.com)
* Privacy Policy: [https://rootabl.com/privacy-policy](https://www.rootabl.com/privacy-policy)
* Terms of Service: [https://rootabl.com/terms-conditions](https://www.rootabl.com/terms-conditions)

No data is sent from your server. The tracking script runs in the visitor's browser and communicates directly with Rootabl's servers.

== Installation ==

1. Upload the `rootabl` folder to `/wp-content/plugins/`.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **Settings > Rootabl**.
4. Enter your Business ID (found in your [Rootabl dashboard](https://app.rootabl.com/businesses)).
5. Click **Save Settings**.

The tracking script will now load on all public pages of your site.

== Frequently Asked Questions ==

= Where do I find my Business ID? =

Log in to your [Rootabl dashboard](https://app.rootabl.com/businesses) and copy your Business ID from the settings page.

= Does this plugin slow down my site? =

No. The tracking script is a single lightweight file loaded asynchronously from Rootabl's CDN. It does not affect page rendering.

= Does this plugin work with caching plugins? =

Yes. The tracking script is injected server-side into the page `<head>`, so it works with all caching plugins.

= What data does the plugin store? =

The plugin stores only your Business ID in the WordPress options table. No visitor data is stored on your server.

= What happens when I deactivate or delete the plugin? =

Deactivating stops the tracking script from loading. Deleting the plugin removes the stored Business ID from your database.

== Changelog ==

= 1.0.0 =
* Initial release.
* Business ID settings page under Settings > Rootabl.
* Automatic tracking script injection on public pages.
* Clean uninstall with multisite support.
