Summary / TL:DR: This article will show you how to use promotion and order links inside of an email template.
2 min read
In order to utilize promotion and order links inside of an email template, you need to take care of two items.
Adding the link Algorithm
In order for promotion and order links to work properly, you must include the Link Algorithm shared asset within your email template. This should be included after your <HTML> opening tag.
Code Block |
---|
<shared_asset> bsft_Link_Algo </shared_asset> |
Info |
---|
Note: The Shared Asset may be labeled something different in your account. |
Defining a Promotion or Order Link
Within your email templates, your <a> tags need to be modified to include the promo_query_vars variable using liquid script.
Code Block |
---|
<a href="https://pro.westora.io/m/234821{{promo_query_vars}}">Click Me</a> |
Working with links in IRIS(+)
You can also define the promo_query_vars liquid script within IRIS along with the link placeholder within your creatives. This allows your production staff to quickly copy and paste links from efforts that are pre-formatted for use in Blueshift.
Code Block |
---|
<a href="#FULL_PROMOTION_LINK#{{promo_query_vars}}">Click Me</a> |
Putting it all together
A typical HTML email might look like the following
Code Block |
---|
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>My Nifty Email</title> </head> <shared_asset> bsft_Link_Algorithm </shared_asset> <body> Hi there, I am a promotion link <a href="https://pro.westora.io/m/234821{{promo_query_vars}}">Click Me</a> </body> </html> |
Tip |
---|
Wrap upYou should now know how to use promotion and order links inside of an email template. |
Info |
---|
Still need help? We know this can be frustrating. To get further help please open a Support ticket. |
Related Content
Level up with a Masterclass
Evolve course title
Evolve course title
Note |
---|
Cannot find the article you’re looking for? Suggest a new article here! |