Add Product Recommendations to a Campaign

After you connect your online store to MailChimp, we'll track your subscribers' purchases so you can recommend products based on their purchase activity. Insert a Product Recommendation content block or use merge tags in any campaign or automation to encourage repeat purchases at your online store.

In this article, you'll learn how to include Product Recommendations in a campaign.

Before You Start

  • Product Recommendations are available to users who connect a supported e-commerce store or custom API 3.0 integration. To find out if your store supports this feature, visit the Connected Sites page.
  • You'll need to connect your store with MailChimp and turn on e-commerce link tracking before we can generate recommendations for your subscribers. Custom API 3.0 integration users may have to wait up to 7 days after a store is connected before recommendations are generated.
  • To generate recommendations, your connected store must meet certain purchase data requirements. If a store doesn't have enough purchase data, or a subscriber hasn't made a purchase yet, we'll display your store's top sellers instead. To learn more, take a look at our About Product Recommendations article.
  • Product Recommendation merge tags are recommended for users familiar with custom coding. Contact your developer, or hire a MailChimp Expert if you need assistance.

Insert a Product Recommendation Content Block

The simplest way to recommend products to your subscribers is to insert a Product Recommendation content block in your campaign. These flexible blocks can pull a product's title, price, and image into your campaign, and can be combined to promote up to 10 products. To encourage subscribers to make a purchase, include a button in your block that links to each product's page in your online store.

Use Product Recommendation Content Blocks

Use Product Recommendations Merge Tags

If you a custom HTML template, you can insert merge tags to recommend products to your subscribers. You'll add opening and closing Product Recommendation tags, and place additional Product Recommendation item tags in between those tags to tell MailChimp what content to display in the recipient's campaign.

To use Product Recommendation merge tags, follow these steps.

  1. In the Content section of the Campaign Builder, click Edit Design.
  2. On the Design step, click the text content block where you want to add your product recommendations.
  3. Copy and paste the following merge tag into the editing pane.
    *|PRODUCT_RECOMMENDATION:[$total=x, $start_index=x]|*

Replace the "x" variables in your opening Product Recommendation merge tag to define the products to display.

$store _id : Identifies your connected store, and is set by theAPI. It defaults to the earliest connected store. This variable is optional. Include it if you have multiple stores connected to your list and want to change the default ID. You can retrieve store IDs via our API.
$total : Indicates how many products to display.
$start_index : Determines which product to begin with from your available recommendations.

  1. Type or paste in Product Recommendation item merge tags to specify the content you want to include for each product, like product title or price.
  2. At the end of the item tags, type or paste the closing tag.

    Screenshot of merge tag block.

  3. Click Save & Close.
Was this article helpful?
Anything else we can do to improve our site?

Technical Support