=== WeWidget – Reviews Widget for Google ===
Contributors: jamesjuby
Tags: google reviews, reviews widget, google rating, testimonials, reviews
Requires at least: 6.3
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed your real Google reviews on WordPress in minutes. Carousel, grid, list and badge layouts. Unlimited page views — your widget never disappears.

== Description ==

**WeWidget** shows your real Google reviews on your WordPress site — carousel, grid, list, hero or a compact star-rating badge.

Set-up takes about a minute and **doesn't need a Google login**: search for your business by name on wewidget.app, copy your widget ID into this plugin's settings, and add the `[wewidget]` shortcode to any page.

**Why WeWidget?**

* **Unlimited page views on every plan** — your widget never gets deactivated for traffic
* **Free forever rating badge** — real star rating + review count, no card required
* **Fast** — one small ~15 KB script, no external fonts, Shadow DOM isolation (your theme's CSS stays untouched), lazy-loads below the fold
* **SEO rich snippets** — schema.org AggregateRating markup, eligible for gold stars under your site in Google search results
* **Auto-sync** — new reviews appear automatically every day
* **No Google login needed** — connect by business name; optionally connect Google later for your full review history
* **UK-based support**

**How it works**

1. Create a free account at [wewidget.app](https://wewidget.app/signup)
2. Find your business by name — your rating and latest reviews are pulled in automatically
3. Copy your widget ID into **Settings → WeWidget**
4. Add `[wewidget]` to any page, post or widget area

For a floating badge on every page, tick "Show site-wide" in the plugin settings and pick the floating style in your WeWidget dashboard.

== External services ==

This plugin connects to **WeWidget** (wewidget.app), a review-widget service, to display your Google reviews.

* **What it loads:** on pages where a widget is rendered, the plugin loads the embed script from `https://app.wewidget.app/widget.js`, which then fetches your widget's review data from `https://app.wewidget.app/api/widget-mock/{your-widget-id}`.
* **What is sent:** the widget ID you configured, and standard web request data from the site visitor's browser (IP address, user agent, and the page's origin domain). Anonymous view/click counts are recorded for your widget analytics. No personal data about your visitors is stored.
* **When:** only on front-end pages where the widget is actually embedded (via the shortcode or the site-wide option). No data is sent from your WordPress admin.
* **Service provider:** WeWidget — [Terms of Service](https://wewidget.app/terms) · [Privacy Policy](https://wewidget.app/privacy)

A free WeWidget account is required to obtain a widget ID.

== Frequently Asked Questions ==

= Is it free? =

The Google rating badge (star rating + review count) is free forever, no card required. Review widgets (carousel, grid, list) come with a 30-day free trial, then from £5/month. There are no page-view caps on any plan.

= Do I need a Google API key or Google login? =

No. Search for your business by name on wewidget.app and you're connected. You can optionally connect your Google account later to sync your full review history.

= Will it slow my site down? =

No. The widget is a single ~15 KB (gzipped) script with no external fonts or CSS frameworks, renders in an isolated Shadow DOM, and lazy-loads when scrolled into view.

= Can I show more than one widget? =

Yes — use `[wewidget id="your-widget-id"]` with different IDs on different pages.

= Do new reviews appear automatically? =

Yes. Reviews sync automatically every day.

= Is it GDPR compliant? =

The widget is designed to be GDPR-friendly: it sets no cookies, does not track your website visitors, and stores no personal data about them — only anonymous aggregate view and click counts per widget. The widget loads from app.wewidget.app (a standard web request, like any CDN); technical details such as IP addresses are seen transiently to serve the request but are not stored or profiled. Reviews shown are your business's public Google reviews. Full plain-English explanation: https://wewidget.app/gdpr

= Does it work with page builders? =

Yes — the shortcode works in Elementor, Divi, Beaver Builder and the block editor (use a Shortcode block). The widget also re-initialises automatically on sites that render content client-side.

== Screenshots ==

1. Real Google reviews in a carousel, added with the [wewidget] shortcode
2. Compact star-rating badge
3. Plugin settings page — paste your widget ID and save
4. Choose from 10+ widget styles in the WeWidget gallery

== Changelog ==

= 1.0.0 =
* Initial release: shortcode embed, settings page, site-wide floating badge option.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
