Where to find this: Open any email and look at the Available Template Variables card in the form editor, or click Shortcodes in the Advanced Editor.
How shortcodes work
Shortcodes are placeholders that Yuko replaces with the customer’s real data when the email is sent. Wrap the key in double curly braces, for example{{ first_name }} or {{ points_balance }}. Spaces inside the braces are optional.
Each email only supports the shortcodes for its own event. The editor lists exactly the ones you can use, so copy them from there. The tables below show which emails support each shortcode.
Shortcodes are rendered with Liquid, so you can also use simple conditions. For example,
{% if current_tier_name == "Gold" %} ... {% endif %} shows a block only to Gold members.Customer
Available in every loyalty, referral and membership email.Loyalty: points and balance
The
*_as_cash values convert points to money using your points-to-cash rate.
Loyalty: event details
Loyalty: rewards
Available in Points redeemed, Reward expiry reminder and Reward expired.Referral
Membership
Available in Membership created, upgraded, downgraded and cancelled.Redemption
Added to every email.Best practices
FAQs
Do the old square-bracket shortcodes like [first_name] still work?
Do the old square-bracket shortcodes like [first_name] still work?
No. Use double curly braces:
{{ first_name }}.Can I use these shortcodes in workflow emails?
Can I use these shortcodes in workflow emails?
Yes. A Send Email node in a workflow gets the shortcodes for the workflow’s trigger, plus the Redemption group.
Is there a store name or store URL shortcode?
Is there a store name or store URL shortcode?
Not in loyalty, referral or membership emails. Type your store name directly, and use the CTA URL for links.
Related
Loyalty Emails
Points earned and redeemed, tier unlocked, expiry, birthday and anniversary.
Referral Emails
Referrer welcome, friend reward unlocked and referrer reward issued.
Membership Emails
Membership created, upgraded, downgraded and cancelled.
Template Editor
Edit content and delays, send a test, or use the Advanced Editor.
Shortcodes Reference
Every shortcode by group, including redemption links.
Email Settings & Custom Domains
From name, Reply-To, default From address and your own sending domain.
Book a Free Setup Call
Talk to our team for personalised setup help.Time: 30 minutes
Contact Support
Visit our support hub for help articles, live chat and ticket submission.
Browse the Guides
Documentation across loyalty, referrals, memberships and more.
Install Yuko
Add Yuko to your Shopify store from the Shopify App Store.