Automated discounts boost your conversions and average order value. Shopify automatically applies discounts to eligible carts. This encourages customers to buy more and reach cart thresholds.
Automated discounts offer discounts when customers meet criteria. Examples include minimum spending or specific products in their cart. Discounts are automatically applied at checkout.
In this article
- Set up automated discounts
- Eligibility and requirements
- How it works
- Add product attributes
- Give Google access to write discounts
- Modify your Store Theme
- Request verification in Google Merchant Center
Set up automated discounts
Here are the steps necessary to make Google automated discounts work in your Shopify store:
- Install the Shopify Google & YouTube app.
- Add the product attributes:
- Give Google access to write discounts:
- Go to https://channel-app.google/?pi=automated_discounts&shop=[SHOP_ID].myshopify.com and accept.
- Send an email to the Google team to update the access token from their end: [email protected].
- Modify your theme to make URL price passing work: add app block.
- Request verification in the Merchant Center.
Eligibility and requirements
Before you decide to participate, check if this feature is a good fit for your business based on the following requirements:
- Conversion tracking with cart data. Learn about Set up and test reporting with conversions with cart data. Shopify Google & YouTube channel app conversion reporting provides cart data suitable for this project.
- You need to provide
[auto_pricing_min_price]and [cost_of_goods_sold]product data attributes for at least 20% of product impressions across your inventory.- To get you started, you can set:
[auto_pricing_min_price]attribute to <= 95% of the price currently shown to consumers (current[price]or[sale_price]) and >=[cost_of_goods].[cost_of_goods](Cost per item in Shopify) must be lower than[auto_pricing_min_price]and between 5% - 95% of the price currently shown to consumers (current[price]or[sale_price])
- To get you started, you can set:
- Your website integration must be able to accept and honor Google-provided product prices from Google-generated JSON web tokens.
- Allow Google to show opted-in products to consumers with a performance-based ramp up of initially 10% for 3 days and 90% thereafter.
- You're responsible for ensuring that your use of this feature complies with all local laws and regulations that apply to you and your business.
How it works
Automated discounts is an AI-powered solution that helps to effectively maximize (gross) profit performance across your entire inventory, consistent with your settings.
Google uses AI algorithms to continuously optimize your product sale prices based on market signals such as:
- Product demand
- Price elasticity
- Price competitiveness
- Seasonality trends
- Estimated delivery day
- Brand value
- Shipping cost
Adjusted sale prices will be shown in Google Shopping Ads (channel-based discounting) and will be passed securely to display the same price on the product landing page in your online store.
| Before | After |
| Your regular price of $885.95 is displayed in the store. |
Example Day 1: Google Automated Discounts set price to $538.52 for consumers coming from Google Ads. Example Day 2: Google Automated Discounts set price to : $753.95 for users coming from Google Ads. You can expect the price to change multiple times per day for users coming from Google Ads. Visitors coming directly to your website won’t view Automated Discounts prices. |
Automated discounts will optimize the price shown to users coming from Google Shopping Ads to maximize your gross profit. Your cost_of_goods_sold data conversions with cart data will be used for profits optimization and performance reporting.
For each offer, Automated discounts will set prices above auto_pricing_min_price and cost_of_goods_sold.
Products without auto_pricing_min_price and cost_of_goods_sold are excluded from the price adjustments .
Add product attributes
To opt-in your products into automated discounts, Google needs two product attributes: Cost Per Item and Minimum Price.
You can opt-in products by providing valid cost per item and minimum price attributes for each product. Google will optimize the sale price above the minimum price and cost per item, and below your current price, and will only apply a price change at a given time for those products in your inventory that benefit the overall goal of maximizing profit across your entire inventory, taking cross-selling and cannibalization effects into account.
Cost Per Item
Cost per item is a pricing attribute available by default for all the products in your store. You can add this attribute either per product or in bulk. Cost per Item values must be greater than 0 to opt-in a product to automated discounts . Note that cost per item is used for profit optimization and performance reporting only and will not be shared with your customers.
Per Product: Navigate to the product you want to add a Cost Per Item value and scroll down to the pricing section. Here you’ll find the Cost Per Item field, populate this field with the appropriate value and click Save.
Method 1:
In the “Products” section of your store admin page, check the products to bulk edit and click Bulk Edit in the upper right. In the “Columns” menu, search for and activate the Cost Per Item column.
Method 2:
Navigate to the below link and enter Cost per Item in the bulk editor for products that you want to opt-in to the pilot.
{Replace [SHOP_ID] with your Shopify store ID in the link below}
https://admin.shopify.com/store/[SHOP_ID]/bulk/product_variant?resource_name=ProductVariant&app_context=1780363&edit=price %2Ccost
Minimum Price
Auto pricing minimum price is the minimum sale price that can be set by the Automated Discounts program. Only products with a minimum price will be discounted.
[Optional] Create a metafield
- Login to your Shopify admin page and navigate to Settings > Custom Data > Variants.
- Click Add definition.
- Enter the following values and click Save:
- Namespace and key: mm-google-shopping.auto_pricing_min_price
- Type: Single line text
Use the bulk editor to add minimum price values
{Replace [SHOP_ID] with your Shopify store ID in the link below}
https://admin.shopify.com/store/[SHOP_ID]/bulk/product_variant?resource_name=ProductVariant&app_context=1780363&edit=price %2Ccost%2Cmetafields.mm-google-shopping.auto_pricing_min_price
Product bulk edit apps like Matrixify allow you to add the minimum price metafield in scale, by importing the data from a CSV file. Currently, Shopify implementation for importing products doesn’t support custom attributes like this.
Give Google access to write discounts
To use the feature, you would have to provide Google with the access to write back the new auto-generated discount codes to Shopify discounts. This is needed to further apply the auto-discount code to the selling price to reflect the discounted price to the end consumer.
To grant Google the permissions to access and write discounts on the Shopify platform, follow these steps:
-
{Replace [SHOP_ID] with your Shopify store ID in the link below}
https://channel-app.google/?pi=automated_discounts&shop=[SHOP_ID].myshopify.com
- Click Finish to provide access to the Google & YouTube app view and sync discounts.
Modify your Store Theme
This section takes you through the process of adding an app block to your Online Store to display the sale price from automated discounts as a strikethrough price.
- Login to your Shopify account and navigate to Online Store>Themes>Customize.
- From the menu on the top of the page, navigate to the products page view.
- Add an “Automated Discounts price” block under the existing price block. Note that if you have multiple price blocks, add it only once.
You’re all set: “Automated discounts price” should be below your price in the template. Click Save to finalize the changes.
Request verification in Google Merchant Center
- Go to “Automated Discounts” tab in Merchant Center and “Submit for review” so Google can verify your integration and start Automated Discounts. If you don't see this button, you can send an email to [email protected] to ask for final review.
- Enable “Automated Discounts” add-on, if the “Automated Discounts” tab is not available.
- After Google reviews your integration, the Automated Discounts program will be started for your store.