{"id":214510,"date":"2025-03-12T15:07:06","date_gmt":"2025-03-12T15:07:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/merchant-center-reviews-for-woocommerce\/"},"modified":"2026-05-25T09:01:11","modified_gmt":"2026-05-25T09:01:11","slug":"merchant-center-reviews-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/es-mx.wordpress.org\/plugins\/merchant-center-reviews-for-woocommerce\/","author":23187528,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.9","stable_tag":"1.0.9","tested":"7.0","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Merchant Center Reviews for WooCommerce","header_author":"Brumisph\u00e8re, Agence Webmarketing","header_description":"Integrates Google Merchant Center Optin on WooCommerce Checkout to request reviews after a customer places an order.","assets_banners_color":"fcfcfc","last_updated":"2026-05-25 09:01:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.brumisphere.com","rating":5,"author_block_rating":0,"active_installs":400,"downloads":1857,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.4":{"tag":"1.0.4","author":"brumisphere","date":"2025-03-12 15:06:53"},"1.0.5":{"tag":"1.0.5","author":"brumisphere","date":"2025-03-12 15:22:23"},"1.0.6":{"tag":"1.0.6","author":"brumisphere","date":"2025-03-19 08:34:24"},"1.0.7":{"tag":"1.0.7","author":"brumisphere","date":"2025-03-20 13:25:19"},"1.0.8":{"tag":"1.0.8","author":"brumisphere","date":"2025-03-20 13:28:45"},"1.0.9":{"tag":"1.0.9","author":"brumisphere","date":"2026-05-25 09:01:11"}},"upgrade_notice":{"1.0.9":"<p>Updates WordPress compatibility metadata to 7.0, refreshes the plugin banner and description, renames the main plugin file with a safe legacy bootstrap, replaces the confusing badge dropdown with clear new store widget \/ legacy badge modes, improves WooCommerce guards, validates order keys before outputting opt-in data, and reduces optional GTM event data.<\/p>","1.0.3":"<p>This update moves inline styles into a separate stylesheet and clarifies the plugin&#039;s key features in the readme.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3254869,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3254869,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3547199,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3547199,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"],"block_files":[],"assets_screenshots":{"screenshot-1.jpeg":{"filename":"screenshot-1.jpeg","revision":3547199,"resolution":"1","location":"assets","locale":"","width":2697,"height":4742},"screenshot-2.jpeg":{"filename":"screenshot-2.jpeg","revision":3254869,"resolution":"2","location":"assets","locale":"","width":654,"height":354}},"screenshots":{"1":"Settings page for Merchant Center ID, checkout opt-in, display mode, new store widget settings, legacy badge settings, GTM event, and script placement settings.","2":"Google Customer Reviews opt-in shown on the WooCommerce order confirmation page."}},"plugin_section":[],"plugin_tags":[25588,21827,23295,65424,286],"plugin_category":[45,53],"plugin_contributors":[239430],"plugin_business_model":[],"class_list":["post-214510","plugin","type-plugin","status-publish","hentry","plugin_tags-customer-reviews","plugin_tags-google-reviews","plugin_tags-gtm","plugin_tags-merchant-center","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_category-ratings-and-reviews","plugin_contributors-brumisphere","plugin_committers-brumisphere","plugin_support_reps-gdep"],"banners":{"banner":"https:\/\/ps.w.org\/merchant-center-reviews-for-woocommerce\/assets\/banner-772x250.jpg?rev=3547199","banner_2x":"https:\/\/ps.w.org\/merchant-center-reviews-for-woocommerce\/assets\/banner-1544x500.jpg?rev=3547199","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/merchant-center-reviews-for-woocommerce\/assets\/icon-128x128.jpg?rev=3254869","icon_2x":"https:\/\/ps.w.org\/merchant-center-reviews-for-woocommerce\/assets\/icon-256x256.jpg?rev=3254869","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/merchant-center-reviews-for-woocommerce\/assets\/screenshot-1.jpeg?rev=3547199","caption":"Settings page for Merchant Center ID, checkout opt-in, display mode, new store widget settings, legacy badge settings, GTM event, and script placement settings."},{"src":"https:\/\/ps.w.org\/merchant-center-reviews-for-woocommerce\/assets\/screenshot-2.jpeg?rev=3254869","caption":"Google Customer Reviews opt-in shown on the WooCommerce order confirmation page."}],"raw_content":"<!--section=description-->\n<p><strong>Merchant Center Reviews for WooCommerce<\/strong> connects WooCommerce with Google Customer Reviews \/ Google Merchant Center review features.<\/p>\n\n<p>The plugin adds the Google Customer Reviews opt-in prompt to the WooCommerce order confirmation page, helping eligible stores request post-purchase feedback from customers. It also lets you choose a clear review-display mode: Google's current floating <strong>store widget<\/strong> for bottom-left or bottom-right placement, or the <strong>legacy Google Customer Reviews badge<\/strong> for inline shortcode placement or old floating badge behavior.<\/p>\n\n<p>The checkout opt-in data is only output on a valid WooCommerce order-received URL after the order key has been checked. The optional Google Tag Manager\/dataLayer event is privacy-minimized and excludes direct customer contact and address fields.<\/p>\n\n<h4>Key features<\/h4>\n\n<ul>\n<li><strong>WooCommerce checkout opt-in<\/strong> - automatically displays the Google Customer Reviews opt-in prompt on the order confirmation page.<\/li>\n<li><strong>Google Merchant Center ID setting<\/strong> - enter your numeric Merchant Center ID in a dedicated WooCommerce admin page.<\/li>\n<li><strong>Opt-in placement controls<\/strong> - choose supported Google opt-in styles such as center dialog, bottom tray, bottom-left, bottom-right, top-left, or top-right dialog.<\/li>\n<li><strong>Estimated delivery date<\/strong> - set the number of delivery days used for Google's review invitation timing.<\/li>\n<li><strong>Product GTIN support<\/strong> - sends valid GTIN values when available using WooCommerce's global unique ID field and common GTIN\/EAN\/UPC metadata fallbacks.<\/li>\n<li><strong>Clear display mode selector<\/strong> - choose New Google store widget, Legacy Google Customer Reviews badge, or no display.<\/li>\n<li><strong>New store widget controls<\/strong> - choose bottom-right or bottom-left placement and optional desktop\/mobile margins using Google's current <code>merchantwidget.js<\/code> integration.<\/li>\n<li><strong>Legacy badge controls<\/strong> - keep the old Google Customer Reviews badge for <code>[gmc_review_badge]<\/code> inline placement or old bottom-left\/bottom-right floating placement.<\/li>\n<li><strong>Optional GTM\/dataLayer event<\/strong> - pushes a privacy-minimized event to an existing dataLayer or gtag setup when enabled.<\/li>\n<li><strong>WooCommerce and HPOS-friendly<\/strong> - reads order data through WooCommerce CRUD methods and declares custom order table compatibility.<\/li>\n<li><strong>Defensive loading<\/strong> - checks WooCommerce availability, validates settings, and avoids exposing order data when the order key is invalid.<\/li>\n<\/ul>\n\n<h4>Where to configure it<\/h4>\n\n<p>After activation, go to <strong>WooCommerce -&gt; Google Merchant Center Reviews<\/strong> to enter your Merchant Center ID and configure checkout opt-in, review display mode, new store widget settings, legacy badge settings, script placement, debug mode, and optional GTM tracking settings.<\/p>\n\n<h3>External Services<\/h3>\n\n<p>This plugin connects to Google services to facilitate Google Customer Reviews \/ Merchant Center review features. It loads Google's store widget script from <code>https:\/\/www.gstatic.com\/shopping\/merchant\/merchantwidget.js<\/code> when New Google store widget mode is enabled. It loads Google's platform script from <code>https:\/\/apis.google.com\/js\/platform.js<\/code> on the WooCommerce Thank You page to allow customers to opt in for review requests, and when Legacy Google Customer Reviews badge mode is enabled.<\/p>\n\n<ul>\n<li><strong>Service Used<\/strong>: Google Merchant Center Reviews \/ Google Customer Reviews<\/li>\n<li><strong>Data Sent for Review Opt-In<\/strong>: Merchant Center ID, order ID, customer email, delivery country, estimated delivery date, and product GTIN data when available. The plugin validates the WooCommerce order key before outputting this data on the Thank You page.<\/li>\n<li><strong>Purpose<\/strong>: Enables Google to send review invitations after a completed order and displays Google's current store widget or the legacy Google Customer Reviews badge when enabled.<\/li>\n<li><strong>Terms of Service<\/strong>: <a href=\"https:\/\/policies.google.com\/terms\">Google Terms<\/a><\/li>\n<li><strong>Privacy Policy<\/strong>: <a href=\"https:\/\/policies.google.com\/privacy\">Google Privacy<\/a><\/li>\n<\/ul>\n\n<p>Google may collect aggregated engagement data for the store widget. The current store widget mode passes widget placement and margin settings to Google; it does not pass customer order data. If the optional GTM\/dataLayer event is enabled, the plugin sends a local browser event to the site's existing analytics\/tagging setup. The plugin does not load Google Tag Manager itself. The event payload is limited to event name, order total, currency, order number, item count, shipping country, and product ID\/SKU\/quantity\/line total data; it does not include customer name, email, phone number, street address, postcode, city, or customer ID.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/merchant-center-reviews-for-woocommerce\/<\/code>, or install the ZIP from the WordPress Plugins screen.<\/li>\n<li>Make sure WooCommerce is installed and active.<\/li>\n<li>Activate <strong>Merchant Center Reviews for WooCommerce<\/strong> from the WordPress Plugins screen.<\/li>\n<li>Go to <strong>WooCommerce -&gt; Google Merchant Center Reviews<\/strong>.<\/li>\n<li>Enter your Google Merchant Center ID and save the settings.<\/li>\n<li>Enable Google Customer Reviews in your Google Merchant Center account.<\/li>\n<li>Place a test order on a staging store and confirm the opt-in appears on the WooCommerce thank-you page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20is%20required%20to%20use%20this%20plugin%3F\"><h3>What is required to use this plugin?<\/h3><\/dt>\n<dd><p>WooCommerce must be installed and active. You also need a Google Merchant Center account with Google Customer Reviews enabled for your store.<\/p><\/dd>\n<dt id=\"where%20do%20i%20enter%20my%20google%20merchant%20center%20id%3F\"><h3>Where do I enter my Google Merchant Center ID?<\/h3><\/dt>\n<dd><p>Go to <strong>WooCommerce -&gt; Google Merchant Center Reviews<\/strong> and enter the numeric Merchant Center ID in the Google Merchant ID section.<\/p><\/dd>\n<dt id=\"does%20the%20opt-in%20appear%20on%20every%20page%3F\"><h3>Does the opt-in appear on every page?<\/h3><\/dt>\n<dd><p>No. The Google Customer Reviews opt-in is intended for the WooCommerce order confirmation page. This plugin only outputs order-specific opt-in data on the order-received page after validating the WooCommerce order key.<\/p><\/dd>\n<dt id=\"can%20i%20display%20a%20google%20badge%20or%20store%20widget%3F\"><h3>Can I display a Google badge or store widget?<\/h3><\/dt>\n<dd><p>Yes. In <strong>Review Display: New Store Widget or Legacy Badge<\/strong>, choose one display mode first:<\/p>\n\n<ul>\n<li><strong>New Google store widget<\/strong> - recommended for Google's current floating widget. Choose bottom-right or bottom-left and optionally adjust desktop\/mobile margins.<\/li>\n<li><strong>Legacy Google Customer Reviews badge<\/strong> - use this only when you need the old inline shortcode <code>[gmc_review_badge]<\/code> or the old floating badge behavior.<\/li>\n<li><strong>Do not display<\/strong> - keeps the checkout opt-in active but does not add a store widget or badge.<\/li>\n<\/ul><\/dd>\n<dt id=\"which%20mode%20should%20i%20choose%3F\"><h3>Which mode should I choose?<\/h3><\/dt>\n<dd><p>Choose <strong>New Google store widget<\/strong> for new installations and for stores following Google's current store widget instructions. Choose <strong>Legacy Google Customer Reviews badge<\/strong> only if you need the old inline shortcode placement or are intentionally keeping the old badge behavior.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20support%20google%20tag%20manager%3F\"><h3>Does this plugin support Google Tag Manager?<\/h3><\/dt>\n<dd><p>Yes. When enabled, the plugin pushes a privacy-minimized event to an existing <code>dataLayer<\/code> or <code>gtag<\/code> setup. The plugin does not load Google Tag Manager itself.<\/p><\/dd>\n<dt id=\"what%20customer%20data%20is%20sent%20to%20the%20optional%20gtm%20event%3F\"><h3>What customer data is sent to the optional GTM event?<\/h3><\/dt>\n<dd><p>The optional GTM\/dataLayer event includes event name, order total, currency, order number, item count, shipping country, and product ID\/SKU\/quantity\/line total data. It does not include customer name, email, phone number, street address, postcode, city, or customer ID.<\/p><\/dd>\n<dt id=\"what%20customer%20data%20is%20sent%20to%20google%20customer%20reviews%3F\"><h3>What customer data is sent to Google Customer Reviews?<\/h3><\/dt>\n<dd><p>For the review opt-in, Google requires order-related data such as Merchant Center ID, order ID, customer email, delivery country, estimated delivery date, and product GTIN values when available. This plugin validates the WooCommerce order key before outputting that opt-in data on the thank-you page.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20support%20woocommerce%20hpos%2Fcustom%20order%20tables%3F\"><h3>Does this plugin support WooCommerce HPOS\/custom order tables?<\/h3><\/dt>\n<dd><p>Yes. The plugin declares WooCommerce custom order table compatibility and reads order data through WooCommerce CRUD methods.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.9 - 2026-05-25<\/h4>\n\n<ul>\n<li><strong>Compatibility<\/strong>: Marked compatible after static review for WordPress 7.0.<\/li>\n<li><strong>Compatibility<\/strong>: Renamed the main plugin file to match the WordPress.org slug and kept a legacy bootstrap for safe upgrades from 1.0.8.<\/li>\n<li><strong>Compatibility<\/strong>: Added WooCommerce compatibility headers and declared HPOS\/custom order table compatibility after code audit.<\/li>\n<li><strong>Enhancement<\/strong>: Replaced the plugin banner artwork with the updated 1544x500 and 772x250 banners.<\/li>\n<li><strong>Enhancement<\/strong>: Refreshed the plugin header description and readme copy to describe checkout opt-in, store widget\/badge, and optional GTM support.<\/li>\n<li><strong>Enhancement<\/strong>: Updated bottom-left and bottom-right badge behavior to Google's current store widget integration.<\/li>\n<li><strong>Enhancement<\/strong>: Replaced the confusing combined badge-position setting with a clear display mode selector plus separate new store widget and legacy badge settings.<\/li>\n<li><strong>Enhancement<\/strong>: Added optional new store widget margin controls for desktop and mobile placement.<\/li>\n<li><strong>Fix<\/strong>: Improved the new store widget margin settings layout so desktop and mobile fields are clearly separated in the admin screen.<\/li>\n<li><strong>Compatibility<\/strong>: Kept backwards-compatible handling for the old 1.0.8 badge-position option.<\/li>\n<li><strong>Privacy<\/strong>: Removed personally identifiable customer fields from the optional GTM\/dataLayer event payload.<\/li>\n<li><strong>Security<\/strong>: Added WooCommerce order key validation before exposing order details to the Google opt-in script.<\/li>\n<li><strong>Hardening<\/strong>: Added stricter setting validation, WooCommerce runtime guards, safer Google script loading, valid GTIN filtering, and uninstall-only option cleanup.<\/li>\n<\/ul>\n\n<h4>1.0.8 - 2025-03-20<\/h4>\n\n<ul>\n<li><strong>Enhancement<\/strong>: Adding script placement (header \/ footer) option in settings.<\/li>\n<li><strong>Enhancement<\/strong>: Adding delay and retry for script loading.<\/li>\n<\/ul>\n\n<h4>1.0.6 - 2025-03-18<\/h4>\n\n<ul>\n<li><strong>Fix<\/strong>: saving Google Merchant ID option fixed.<\/li>\n<li><strong>Enhancement<\/strong>: Adding debug mode option in settings.<\/li>\n<\/ul>\n\n<h4>1.0.5 - 2025-03-12<\/h4>\n\n<ul>\n<li><strong>Compliance<\/strong>: tested up to WP 5.7, added banner, icon and screenshots.<\/li>\n<\/ul>\n\n<h4>1.0.4 - 2025-03-12<\/h4>\n\n<ul>\n<li><strong>Enhancement<\/strong>: GTIN matching improved; now automatically set.<\/li>\n<\/ul>\n\n<h4>1.0.3 - 2025-03-06<\/h4>\n\n<ul>\n<li><strong>Enhancement<\/strong>: All inline styles moved to an external <code>style.css<\/code> file.<\/li>\n<li><strong>Enhancement<\/strong>: All inline scripts moved to external <code>.js<\/code> files.<\/li>\n<li><strong>Enhancement<\/strong>: Updated README with clearer features list and instructions.<\/li>\n<\/ul>\n\n<h4>1.0.2 - 2025-03-05<\/h4>\n\n<ul>\n<li><strong>Improvement<\/strong>: Converted inline scripts and styles to use <code>wp_enqueue_script()<\/code> and <code>wp_enqueue_style()<\/code>.<\/li>\n<li><strong>Fix<\/strong>: Prefixed all functions and classes with <code>brumigmcreview_<\/code> for unique namespace compliance.<\/li>\n<li><strong>New<\/strong>: Introduced external service documentation for Google Merchant Center API.<\/li>\n<li><strong>Enhancement<\/strong>: Improved admin settings page with help tabs and better UX.<\/li>\n<li><strong>Debugging<\/strong>: Added enhanced logging and reporting to track review opt-in displays.<\/li>\n<\/ul>\n\n<h4>1.0.1 - 2024-11-06<\/h4>\n\n<ul>\n<li><strong>Improvement<\/strong>: Added option to customize the Merchant Center badge position.<\/li>\n<li><strong>Fix<\/strong>: GTIN prefix and suffix logic improved.<\/li>\n<li><strong>New<\/strong>: Added option to generate GTIN from SKU, prefix, and suffix.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 2024-10-15<\/h4>\n\n<ul>\n<li>Initial release with the following features:\n\n<ul>\n<li>Google Merchant Center Reviews opt-in on the WooCommerce order confirmation page.<\/li>\n<li>Customizable opt-in styles and delivery date settings.<\/li>\n<li>Support for GTIN options.<\/li>\n<li>Google Tag Manager tracking for opt-in events.<\/li>\n<li>Display the Google Merchant Center badge with customization options.<\/li>\n<\/ul><\/li>\n<\/ul>","raw_excerpt":"Automate Google Customer Reviews opt-in after WooCommerce checkout, choose the new store widget or legacy badge mode, and send optional GTM events.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/214510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=214510"}],"author":[{"embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/brumisphere"}],"wp:attachment":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=214510"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=214510"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=214510"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=214510"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=214510"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=214510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}