Personal Discount
HomeShopifyWooCommerce and Magento
  • What is Personal Discount?
  • Personal Discount for Shopify
    • How does Personal Discount work?
    • Frequently Asked Questions
    • Configure discount
    • Integrate Personal Discount with your Email Service Provider
      • Shopify notifications
        • How to send an order confirmation email with a discount code in Shopify?
        • How to include a discount code in Shopify abandoned cart notification
        • How to send a unique discount code to customers who create an account?
        • How to send a discount code only if a specific product has been purchased?
      • Shopify Email
      • Mailchimp
        • How to set up an automated welcome email in Mailchimp
        • How to set up an abandoned cart email in Mailchimp?
        • Send unique coupons from Mailchimp to customers who bought a specific product
        • How to display a discount code as an image in a Mailchimp message
        • Create a link to apply discount automatically
        • Connect to Mailchimp
        • How to create a birthday campaign with a discount code using Mailchimp
      • AWeber
        • Reward new subscribers with a discount code using AWeber
      • ActiveCampaign
        • How to add a unique discount code to welcome emails in ActiveCampaign
        • How to create a recover abandoned carts campaign with a unique discount code via ActiveCampaign?
        • How to encourage customers to buy more from your shop with Personal Discount and ActiveCampaign?
      • Campaigner
        • How to integrate Personal Discount and Campaigner to send welcome emails with a discount code
      • Campaign Monitor
        • How to send automated welcome emails with discount codes using Campaign Monitor
      • ConvertKit
        • How to create a welcome campaign with ConvertKit
        • How to create a follow up on purchases automation with ConvertKit
      • iContact
        • Increase your newsletter audience using the iContact welcome campaign with a discount code
      • Klaviyo
        • Send a discount code for new subscribers using Klaviyo
        • Create an abandoned cart recovery campaign with Klaviyo
        • How to create a post-purchase campaign to increase customers' loyalty using Klaviyo
        • How to create a Happy Birthday campaign using Klaviyo
      • MailerLite
        • How to welcome new subscribers with a discount code using MailerLite
        • How to create a recover abandoned carts campaign with MailerLite
        • How to create Follow up on purchases campaign with MailerLite
      • Omnisend
        • How to create welcome new subscribers automation with Omnisend
        • Recover abandoned carts using Omnisend with Personal Discount
        • How to create Follow up on purchases campaign using Omnisend
      • Ontraport
        • How to send welcome emails with discount codes for new subscribers via Ontraport?
      • OrderlyEmails
      • SendGrid
        • How to send welcome discount with SendGrid?
      • Sendinblue
      • Vitals
        • How to create a pop-up and include a discount code in welcome emails with the Vitals app
    • Use cases
      • Offer a free product to your newsletter subscribers
      • How to create a link to the checkout with a discount code applied in the Shopify store?
    • Troubleshooting
      • Why my Shopify discount code doesn't work?
      • My Shopify customer's discount code was applied, but it shouldn't
      • Customer eligibility is not respected
      • Some of my subscribers in Klaviyo don't have a discount code generated in Personal Discount
      • Mailchimp is not sending emails with discount codes
      • Discount codes are not appearing in the emails sent by Mailchimp
      • I have received << Test discount code >> instead of real discount code in the Mailchimp test message
      • Contact us
  • WooCommerce and Magento
    • Add a Mailchimp pop-up to your WooCommerce store
    • Apply a coupon code via URL in WooCommerce
    • Create a Cart Price Rule in Magento 2.x
    • Create an Access Token in Magento 2.x
    • Send unique coupons to new email subscribers using Mailchimp
    • Send unique coupons for your subscribers birthday
    • Frequently Asked Questions
Powered by GitBook
On this page

Was this helpful?

  1. Personal Discount for Shopify
  2. Integrate Personal Discount with your Email Service Provider
  3. Mailchimp

How to display a discount code as an image in a Mailchimp message

Would you like the discount code in the Mailchimp message to be displayed as an image that, when clicked on, redirects the customer to your shop with the discount code applied?

PreviousSend unique coupons from Mailchimp to customers who bought a specific productNextCreate a link to apply discount automatically

Last updated 2 years ago

Was this helpful?

This is a method that Personal Discount uses to integrate with any other email marketing service (other than Mailchimp, but it also works with Mailchimp). The HTML snippet generates a unique discount code when a recipient opens the email for the first time. The key advantage, in this case, is that it's no longer needed to hold on sending the email until the discount is ready. So the filter condition "Shopify Discount Code is not blank" is not necessary. Nevertheless, there is also a little disadvantage in that the discount code is shown as an image, so it's not possible to copy the code. However, the image is wrapped with a link redirecting to the checkout and automatically applying the discount code.

Firstly, navigate to your Shopify dashboard ➜ Apps ➜ Personal Discount and hit Add automation. Then, select Other as your Email Service Provider and the desired campaign type.

Set up the discount according to your needs. For more information have a look at the article on .

Next, copy the HTML code snippet that you can find at the bottom of the automation settings page.

Now switch over to Mailchimp and edit an email template from your automation. If your template contains *|DSCNT_CODE|*, delete it. Next, add a code block to the email template and edit this element. Delete the default code snippet and paste the one that you copied from Personal Discount.

Now replace both occurrences of {{email}} with *|EMAIL|* in the code snippet you just pasted.

Save the email template. Finally, remove the condition discount code is not blank if it was set.

From now on, a unique discount code will be generated when a recipient opens the email for the first time. A code will be displayed as a clickable image.

how to configure a discount
Add Personal Discount automation
Copy the code snippet from Personal Discount
Insert the code snippet from Personal Discount
Replace {{email}} with Mailchimp customer email address merge tag
Disable Shopify Discount code is not blank filter in Mailchimp
Shopify Personal Discount code in an email
How to add Personal Discount automation animated
How to copy the code snippet from Personal Discount animated
How to insert code snippet from Personal Discount into Mailchimp email template animated
How to replace email merge tag in the Personal Discount code snippet animated
How to disable Shopify Discount code is not blank filter in Mailchimp animated
Shopify Personal Discount code in an email