How to add dynamic discount codes in Klaviyo

In this video, I’m going to show how to add auto-apply discount codes for your Shopify store in your Klaviyo emails.

0:00 Intro
0:31 Create coupon for flows
3:24 Add auto-apply codes in flows
8:01 Test codes in flows
10:16 Create coupon for campaigns
11:38 Generate coupon for campaigns
12:51 Add auto-apply codes in a campaign
14:25 Test codes in campaigns
15:16 Closing

Klaviyo Discount Code Merge Tags Below:

DISCOUNTCODE is the placeholder in this document for the discount. In all cases, replace it with your dynamic code instead.

Klaviyo Dynamic Coupon Code:
{% coupon_code ‘NAME_OF_YOUR_COUPON’ %}

The basic URL – To Home Page:

Using a Dynamic coupon + specific page (Klaviyo):{% coupon_code ‘DISCOUNT_NAME’ %}?redirect=/products/product1/

Abandon Cart ONLY – bonus:
From Klaviyo to Checkout
{{ event.extra.checkout_url}}/&discount=DISCOUNTCODE OR
{{ event.extra.checkout_url}}?discount=DISCOUNTCODE
Test this first to make sure it works.


Subscribe for more content on Email Marketing for eCommerce brands:…

Share this video with a friend: .