Integration overview

Technical requirements
The Google Trusted Stores badge code
The order confirmation module
Code validation
Qualification period

Once you have set up your Google Trusted Stores Merchant account, you must complete technical integration to submit your application.

Technical requirements

In addition to the requirements listed in the Google Trusted Stores Merchant Guidelines, your store must meet the following criteria in order to successfully complete technical integration:

Add JavaScript code to all pages of your site

The Trusted Stores integration process requires adding JavaScript code to all pages of your site, including checkout and order confirmation pages. If you use an e-commerce platform, it must allow you to add code to all pages of your site.

Shopping cart and checkout pages must not be hosted on a separate domain

Your store’s shopping cart pages, checkout pages, and confirmation pages must be hosted on the same domain as your store’s domain. If you use a platform where your shopping cart pages are hosted by a 3rd party (e.g. Shopify, CoreCommerce, or Yahoo Stores), you will not be able to integrate with the standard implementation instructions. Learn more about e-commerce platform providers.

Examples:

Store Domain Checkout/Shopping Cart Domain
mariasbikeshop.com cart.mariasbikeshop.com
mariasbikeshop.com mariasbikeshop.com/cart
mariasbikeshop.com mariasbikes.shoppingplatform.com
mariasbikeshop.com shoppingplatform.com/mariasbikes
Third-party checkout process must redirect back to order confirmation page on your domain

If your store uses a third-party checkout process to complete a transaction, your customers must be directed back to a confirmation page hosted on your store’s domain for the JavaScript code to work properly. If your store allows customers to pay via any of the third party payment processes listed below, shoppers may be redirected temporarily off your website to enter payment information. The requirement to include code for the Program’s visual elements does not apply to pages served by these 3rd party payment processing websites:

  • PayPal™ (unless it redirects back to the Merchant site);
  • BillMeLater®;
  • Amazon Payments™;
  • eBillMe™; and
  • Google Wallet

In all cases, you are required to:

  • include code for the visual elements on the landing page when the customer returns to the Merchant’s site
  • transmit the order confirmation details to Google, providing the customer with the opportunity to opt in for the purchase protection provided by the Program.
Secure checkout and order confirmation pages

In order to protect customer data, collection of any sensitive or financial personal information must be conducted over a secure processing server (SSL-protected, with a valid SSL certificate - https://).

In particular, your checkout and order confirmation pages must only be accessible using HTTPS.

HTML5 DOCTYPE

Your store must use an HTML5 DOCTYPE. Learn more about updating your DOCTYPE.

The Google Trusted Stores badge code

A Google Trusted Store will display the Google Trusted Stores badge on each page of their site. Customers that click on the badge will see an expanded badge with additional details about the Google Trusted Stores program. Google Shopping seller ratings may also appear on the expanded badge, as well as a link to the reviews associated with your store. Learn more about Google Shopping seller ratings.

You must implement the badge code on every page of your store, including (but not limited to) the home page, category pages, browse pages, search results pages, product pages, help pages, shopping cart pages, checkout pages, and order confirmation pages. Learn more about implementing the badge code.

It’s important to also note that after integration, you will not immediately see the badge displayed on your store’s pages because your Trusted Stores application will still need to go through the qualification period.

The order confirmation module

After completing a purchase at a Google Trusted Store, customers will be offered the opportunity to opt in for free purchase protection from Google. This purchase protection opt-in is triggered by the order confirmation module that you must place on your store’s order confirmation page.

The order confirmation module is the code that must be placed on your store’s order confirmation page(s). This module must be customized to include each customer’s individual order information, which will be used to confirm the customer’s order details if they choose to opt in for purchase protection. Because this module triggers the purchase protection opt-in and the Google Trusted Stores customer survey, the order details in this module must be accurate to the best of your ability. Learn more about implementing the order confirmation module.

During the qualification period when the Trusted Stores badge is not yet displayed on your store, your customers will not be able to opt in for purchase protection; instead, the order confirmation module will trigger the customer survey opt-in, which will invite your customers to take an email survey about their shopping experience at your store. Learn more.

Code validation

Once you have completed technical integration, you must use the JavaScript validator to place test orders on each of three different major browsers to check that the Google Trusted Stores badge and order confirmation module are working as intended.

The JavaScript validator will allow you to simulate the customer shopping experience on your store if your store becomes a Google Trusted Store. As such, you should expect to see a preview of the Google Trusted Stores badge on your store pages, as well as the purchase protection opt-in at the end of each required test purchase. Learn more about validating your Trusted Stores integration.

Qualification period

Once you have completed code validation and submitted your application, your account will enter a qualification period for a minimum of 30 days while Google assesses your eligibility to participate in the Google Trusted Stores program. The qualification period may be extended if there is insufficient data to determine your eligibility.

During this period, the Google Trusted Stores badge will not be visible on your site. However, customers who purchase from your store may see the customer survey opt-in on your store's order confirmation page that invites them to take an email survey about their shopping experience at your store.

At the end of the qualification period, Google will evaluate your store’s performance with respect to the program’s performance standards to determine if your store qualifies to participate in the Google Trusted Stores program. If your store qualifies, Google will contact you to let you know when the Google Trusted Store badge will appear on your site. Learn more about the qualification period.