=== Moby Reviews – Customer & Google Reviews Widget ===
Contributors: mobyapp
Tags: reviews, google reviews, testimonials, review widget, rating
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Collect reviews from your customers, import your Google reviews and show them on your site with a fast, accessible widget. Shortcode and block included.

== Description ==

Moby Reviews helps local businesses and online stores collect honest reviews and show them on their website. Ask for reviews with a link, a QR code or an automatic email after a purchase, appointment or booking, reply publicly, and place the reviews anywhere with a block or a shortcode.

**Features**

* Five layouts: carousel, grid, list, floating badge with the average rating and a compact badge.
* Light, dark, minimal, glass and brand themes, or your own colors.
* Your own reviews (stars, text, optional photo and name) and your Google Business Profile reviews, with the attribution Google requires.
* Visitor filters by stars and by source, public replies from the business and a "Verified customer" label for reviews that come from a real purchase.
* Honest by design: every customer can rate you with any score and is always offered the link to Google. No "review gating".
* Optional structured data (schema.org) for your own reviews only, following Google's guidelines. It is never added for reviews imported from Google.
* Gutenberg block and `[moby_reviews]` shortcode.
* Fast: one small script (under 25 KB gzipped) and a cached response.
* Accessible: keyboard navigation, focus management and screen reader labels.
* Privacy-friendly: no cookies are set on your visitors.
* Interface in Spanish, Catalan, English, French, German, Italian, Portuguese and Romanian.
* Optional: show your WooCommerce product reviews with the same style (`[moby_reviews_woocommerce]`), rendered by WordPress.

**How it works**

1. Go to **Settings → Moby Reviews** and click **Connect with Moby**.
2. Log in or create a free account. Share your review link or QR code, or connect your Google Business Profile.
3. Create a widget. It is saved as your default widget and you are sent back to WordPress.
4. Add the **Moby Reviews** block, or the `[moby_reviews]` shortcode, to any page.

The free plan includes 1 widget, 1 location and the review link and QR code. Paid plans add more widgets and locations, Google import, automatic review requests and removal of the Moby credit. See [plans and pricing](https://reviews.mobyapp.eu/#precios).

== External services ==

This plugin is a client for the Moby Reviews service, operated by Moby (https://www.mobyapp.eu/). An account on that service is required: reviews are collected and moderated there, not in WordPress.

* **Moby Reviews API (harpoon.mobyapp.eu).** When a page with a widget is viewed, the widget requests that widget's published reviews from the API. The request includes the widget ID, the page's domain (to check that the widget may be shown there) and, for anonymous view statistics, the visitor's time zone. No personal data, cookies or IP addresses are stored by the plugin.
* **Moby Reviews panel (reviews.mobyapp.eu).** When you click "Connect with Moby" in the admin, you are taken to the panel with your site address so the widget can be sent back to your site.
* **Review pages.** The "Write a review" button links to a page on harpoon.mobyapp.eu where your customers can rate you, write a review and, always, open Google to leave a public review there.
* **Google.** If you connect your Google Business Profile in Moby, Google reviews are shown with the reviewer's name and photo as provided by Google, a Google mark and a link to your Google Maps listing. Reviewer photos are loaded from Google's servers (googleusercontent.com) when the widget is viewed. Google terms: https://policies.google.com/terms · Google privacy policy: https://policies.google.com/privacy
* **Widget check (admin only).** The Settings → Moby Reviews page asks the Moby Reviews API whether your default widget exists and can be shown on your domain. It sends the widget ID and your site address.

The WooCommerce shortcode does not use any external service.

Terms of service: https://www.mobyapp.eu/en/terminos
Privacy policy: https://www.mobyapp.eu/en/privacidad
Data processing agreement (GDPR art. 28): https://www.mobyapp.eu/en/encargo-tratamiento
Legal notice: https://www.mobyapp.eu/en/aviso-legal · Cookie policy (what the widget stores, to declare in your own cookie policy): https://www.mobyapp.eu/en/cookies
Suggested text for your site's privacy policy: Settings → Privacy → Policy guide → "Moby Reviews".

== Source code ==

The front-end widget (`assets/reviews.js`) is compiled and minified from TypeScript with esbuild. Its human-readable source code is included in the plugin, in `assets/src/`.

== Installation ==

1. Install the plugin from **Plugins → Add New** (search for "Moby Reviews") and activate it.
2. Go to **Settings → Moby Reviews** and click **Connect with Moby**.
3. Add the **Moby Reviews** block or the shortcode to a page.

= Shortcode =

`[moby_reviews]` shows your default widget. Optional attributes:

* `id` – a widget ID (`rv_…`) to show a widget other than the default.
* `layout` – `carousel`, `grid`, `list`, `floating` or `badge`.
* `theme` – `light`, `dark`, `minimal`, `glass`, `brand` or `custom`.
* `limit` – number of reviews, from 1 to 50.

Example: `[moby_reviews layout="grid" theme="dark" limit="6"]`

`[moby_reviews_woocommerce product="123" limit="10"]` shows the native reviews of a WooCommerce product (on a product page, `product` can be left out).

== Frequently Asked Questions ==

= Do I need an account? =

Yes. Moby Reviews is a hosted service. The free plan does not require a credit card.

= Can I hide negative reviews? =

No. Every customer can publish a review with any rating, and the link to Google is offered to everyone. You can remove spam, offensive content or personal data, and you can reply publicly. If you choose to show only reviews above a rating, the widget tells visitors, and the average rating always includes every review.

= Will Google show stars for my site? =

The widget can add structured data for your own reviews. Google does not show review stars for reviews a business publishes about itself on its own site (self-serving reviews), but it does for product reviews. Google reviews are never marked up.

= Does it set cookies? =

No. The widget does not set cookies or use local storage.

== Screenshots ==

1. Carousel with the average rating, filters and Google reviews.
2. Grid layout with replies from the business.
3. Floating badge with the average rating.

== Changelog ==

= 1.0.0 =
* First version: Connect with Moby, block, shortcode, widget check, automatic updates and WooCommerce product reviews shortcode.
