How to Use Dynamic Text Tokens
Dynamic Text Tokens in Because allow you to personalize your campaigns in real-time based on visitor behavior, product details, and customer data—without any coding.
With these tokens, you can automatically display:
Live inventory counts
Personalized visitor details
Current cart totals
Dynamic discount codes
Real-time pricing & promotions
Where to Find Dynamic Text Tokens
Go to the Campaign Text Editor in Because.
Highlight any text where you want to insert dynamic content.
In the text editor toolbar, click on the {D} button.
A dropdown menu will appear, showing all available Dynamic Text Tokens.
Click on a token to insert it into your campaign text.
🚀 Because will automatically update the text in real-time based on the visitor, product, or cart data!
Available Dynamic Text Tokens & What They Do
Inventory & Pricing Tokens
Inventory Left → ****
{|product.inventory|}
****Displays current stock levels (e.g., “Only 5 left in stock!”).Product Price →
{|product.price|}
****Shows the product’s live price (e.g., “$49.99”).Compare at Price →
{|product.compare_at_price|}
Displays the original price before a discount (e.g., “Was $79.99”).Discounted Price →
{|product.discounted_price|}
****Shows the final price after a discount is applied.Compare at Price Discount →
{|product.compare_at_price_discount|}
****Displays the discount amount based on the original price.
Visitor & Cart Tokens
Visitor Country → ****
{|viewing_user.country|}
****Displays the visitor’s country (e.g., “Hey there, shopper from Canada!”).Current Cart Total →
{|viewing_user.cart_total|}
****Shows the visitor’s cart total in real-time (e.g., “Your cart total: $85.00”).Close to Free Shipping →
{|round(50 - viewing_user.cart_total)|}
****Displays how much more the visitor needs to spend to qualify for free shipping (e.g., “You’re $10 away from free shipping!”). Simply replace the “50” with your Free Shipping minimum.Discount Code →
{|discount_code|}
****Inserts a discount code dynamically (e.g., “Use code WELCOME10 at checkout!”).
Klaviyo Profile Tokens (Beta)
Klaviyo Person First Name →
{|klaviyo.first_name|}
****Displays the visitor’s first name if available. (e.g., “Welcome back, Sarah!”)Klaviyo Person Last Name →
{|klaviyo.last_name|}
****Displays the visitor’s last name.Klaviyo Custom Property →
{|klaviyo.custom.{property_name}|}
****Pulls in custom data from Klaviyo. To use it, replace{property_name}
with the Klaviyo field name (e.g., “You have 300 points to redeem!”).
Caveat: Where Tokens Can Be Used
It’s important to know where each type of token is supported:
Product-Specific Tokens (PDP Pages Only)
Product-specific tokens are designed to pull details about a specific product and are only supported on Product Detail Pages (PDPs). These tokens cannot be used in campaigns that appear on other page types, such as badge campaigns.
For example, you cannot use the {|compare_at_price|}
token in a badge campaign because it relies on data from a specific product page.
The following tokens are PDP-only:
Inventory Left
Product Price
Compare at Price
Discounted Price
Compare at Price Discount
Example Use:
“Hurry! Only {|inventory_left|} left in stock for {|product_title|}, now at {|product_price|}!”
Tokens That Work on All Page Types
The following tokens can be used on any page of your site, including in badge campaigns:
Visitor Country
Current Cart Total
Close to Free Shipping
Discount Code
Example Use:
“Hello, shopper from {|visitor_country|}! Spend {|close_to_free_shipping|} more to unlock free shipping.”
How Dynamic Text Tokens Enhance Your Campaigns
✅ Increase urgency: “Hurry! Only 3 left in stock!”
✅ Encourage spending: “You’re $5 away from free shipping!”
✅ Personalize promotions: “Hey John, use code SAVE10 for 10% off!”
✅ Boost conversions: “Your cart total is $85—checkout now to claim your discount!”
Pro Tip: Style Matching for Seamless Integration
By default, Because automatically matches your site’s theme styling so these tokens blend in naturally. However, you can customize any design setting inside the editor to fit your brand.
💡 Need Help? Contact us at support@trybecause.com for assistance! 🚀
Last updated