Getting Started with Behaviour Discounts
Welcome to Behaviour Discounts! This guide will help you create your first campaigns and start rewarding customer behavior on your Shopify store.
What is Behaviour Discounts?
Behaviour Discounts is a Shopify app that lets you create dynamic discount campaigns that respond to how customers interact with your store. You can trigger discounts based on browsing behavior, show personalized popups, and create unique discount links for marketing campaigns.
Two Ways to Create Discounts
1. Behavioural Triggers
Behavioural triggers automatically activate discounts when customers perform specific actions on your store, such as:
- Viewing multiple products
- Spending time on your site
- Abandoning checkout
- Showing exit intent
- Being a returning visitor
- And more…
Best for: Organic traffic, on-site engagement, reducing cart abandonment
2. Magic Links
Magic Links are unique URLs with special discount parameters that activate when customers click them. They’re perfect for:
- Email marketing campaigns
- Social media promotions
- Influencer partnerships
- QR codes on packaging
- SMS campaigns
Best for: External marketing, targeted campaigns, tracking specific channels
Creating Your First Behavioural Trigger
Step 1: Install the App Embed
Before triggers can work, you need to install the app embed on your theme:
- Navigate to your Shopify admin
- Go to Online Store → Themes
- Click Customize on your active theme
- In the theme editor, look for App embeds in the left sidebar
- Enable Behaviour Discounts
- Click Save
Step 2: Create a Trigger
- From the app home, click Behavioural triggers → Create trigger
- Give your trigger a name (e.g., “Exit Intent - 10% Off”)
- Choose a behaviour rule (see Trigger Types for details)
- Configure your discount settings:
- Product discounts (percentage, fixed amount, or free gift)
- Order discounts
- Shipping discounts
- Decide whether to show a popup or auto-apply the discount
- Set your trigger to Active
Step 3: Test Your Trigger
- Open your storefront in an incognito window
- Perform the behavior that triggers your discount (e.g., view products, wait on page, move cursor to exit)
- Verify the popup appears or discount applies as expected
Creating Your First Magic Link
Step 1: Choose a Template or Start Fresh
Magic Links come with pre-built templates for common use cases:
- Email Welcome Series - Reward new subscribers
- Abandoned Cart Recovery - Win back lost sales
- Birthday Club - Celebrate customer birthdays
- Klaviyo Spin to Win - Integrate with gamification popups
- Or create your own custom campaign
Step 2: Configure Your Magic Link
- From the app home, click Magic links → Create magic link
- Select a template or start from scratch
- Set your URL parameters:
- Parameter name (e.g.,
welcome,birthday,spin) - Parameter value (e.g.,
vip2024,win-x7k2m9p4) - Use unguessable values for security
- Parameter name (e.g.,
- Configure your discount settings (same options as triggers)
- Optionally show a popup when the link is clicked
- Set status to Active
Step 3: Get Your Magic Link URL
After creating your magic link, you’ll get a URL like:
https://your-store.com?welcome=vip2024
Add this to your email campaigns, social media, or anywhere you want to offer a discount.
Step 4: Test Your Magic Link
- Open your magic link URL in an incognito window
- Verify the popup appears (if configured)
- Add products to cart
- Check that the discount applies at checkout
Understanding Discount Types
Product Discounts
Apply discounts to specific products, collections, vendors, or product types:
- Percentage off - e.g., 15% off
- Fixed amount off - e.g., $5 off each item
- Free gift - Automatically add free products to cart
Minimum Requirements
Set requirements customers must meet to qualify:
- Cart total - e.g., “Spend $50 to get 10% off”
- Quantity - e.g., “Buy 3+ items to get free gift”
- Exclude collections - Don’t count sale items toward minimums
Order Discounts
Apply a discount to the entire cart subtotal:
- Percentage off - e.g., 20% off entire order
- Fixed amount off - e.g., $10 off order
Shipping Discounts
Reduce or eliminate shipping costs:
- Percentage off - e.g., 50% off shipping
- Fixed amount off - e.g., $5 off shipping
- Free shipping - 100% off shipping
Popup Customization
Both triggers and magic links can show branded popups:
- Go to Customize → Gift popup or Info popup
- Customize:
- Background color
- Text color
- Border radius
- Overlay opacity
- Your popups will automatically match your brand
Key Features
Magic Link Priority
When a customer has both a magic link and a behavioural trigger active, magic links always take priority. This prevents popup spam and respects the customer’s choice to engage with your promotional link.
Auto-Add Free Gifts
For free gift campaigns, you can:
- Auto-add - Gifts automatically appear in cart when requirements are met
- Manual selection - Show popup letting customer choose their gift
- Manual with popup - Let customer choose from a limited selection
Countdown Timers
Add urgency with countdown timers on popups:
- Set duration in seconds
- Customize the expired message
- Timer resets per session
Best Practices
For Behavioural Triggers
- Start conservative - Don’t trigger too easily (e.g., after 1 product view)
- Use exit intent wisely - Great for capturing abandoning visitors
- Combine with requirements - “Spend $50 to unlock 10% off”
- Test in incognito - Always verify trigger behavior
- Monitor performance - Check the analytics dashboard
For Magic Links
- Use unguessable values - Prevent unauthorized use (e.g.,
win-x7k2m9p4notwin) - Create unique links - One per campaign for better tracking
- Test before sending - Verify the link works and applies correctly
- Set expiry dates - Use discount start/end dates for limited offers
- Track results - Monitor clicks and conversions
Priority and Combining Discounts
Discount Priority
- Magic links override triggers - Active magic links suppress behavioural triggers
- First trigger wins - Only one behavioural trigger can be active per session
- Shopify validation - All discounts validated at checkout by Shopify Functions
Combining with Other Discounts
Configure which discounts can combine:
- Product discounts (e.g., automatic BOGO offers)
- Order discounts (e.g., seasonal sales)
- Shipping discounts (e.g., free shipping promotions)
Note: Combining is subject to Shopify’s discount stacking rules.
Next Steps
- Explore all trigger types and when to use them
- Set up your first campaign
- Customize popup styling
- Integrate with Klaviyo
- View analytics and insights
Need Help?
- Check our FAQ for common questions
- Review troubleshooting tips
- Contact support at [your-support-email]
Ready to reward your customers? Start creating your first trigger or magic link today!