Sender Help Center
  • Home
  • Pricing
  • Knowledgebase
  • Log In
  • Get Started
Menu
Sender Help Center
Close menu
Home Pricing Knowledgebase
Log In Get Started
Floating Floating Floating Floating Floating

Knowledge Base

Search
  • Authenticate your domain
  • Automation
  • Drag & Drop Email Editor
  • Getting started with deliverability
  • Getting started with Sender
  • Integrations
  • Manage contacts
  • Payment & Billing
  • SMS campaigns
  • Subscription forms
Knowledge Base
FAQ Contact Us
Home/Knowledge Base/

Liquid tags

Last Updated: Nov 20, 2025

Liquid tags help you personalize your emails by inserting dynamic content like the subscriber’s name, location, product history, or cart items—automatically. They’re a powerful way to create meaningful, relevant, and engaging messages for every individual on your list, without manually customizing each email.

Whether you’re welcoming a new subscriber or nudging someone to complete their purchase, liquid tags make your emails feel personal, timely, and smart.

What are Liquid Lags?

Liquid tag is a templating language that uses placeholders and logic to insert dynamic content into your emails.

{{ … }} → Outputs data (e.g. a name, a product, a price)

{% … %} → Controls logic (e.g. if/else conditions, loops)

| → Applies filters to format or modify data (e.g. upcase, default)

Example:
Hello {{ firstname | default: “there” }} → Inserts a subscriber’s first name, or “there” if the name is missing.

Result:

If the subscriber’s name exists in the subscriber list → Hello Gabrielle!

If the subscriber’s name does not exist in the subscriber lis → Hello there!

Why Use Liquid Tags?

  • Personalize at scale (no manual editing)

  • Improve open rates and conversions

  • Make subscribers feel seen and understood

  • Adapt content to location, behavior, or preferences

  • Keep your campaigns efficient and relevant

Top Use Cases & Examples

1. Personalized Subject Lines with Fallbacks

Use a subscriber’s first name—or provide a friendly default if it’s missing.

Example:

Subject: {{ firstname | default: “Hey” }}, your exclusive offer is inside!

Why it works:

  • Adds a personal touch to the inbox
  • Increases open rates

  • Makes your message feel written just for them

2. Show Relevant Products Based on Interest or Segment

If you don’t have real-time product tracking, no problem—you can still create relevant product suggestions by using custom fields or behavioral tags like favorite categories or past clicks.

Example: Let’s say you collect a custom field like favorite_category during signup or through a quiz.

Subject: Explore more in {{ favorite_category | default: “our bestsellers” }}

Email body: Hi {{ firstname | default: “there” }},

We thought you might like these picks from our {{ favorite_category | default: “latest collection” }}:

Why it works:

  • Feels personalized even without product tracking

  • Easy to implement with custom fields or tag-based segmentation

  • Allows you to highlight relevant products for each group

3. Insert Cart Details into Recovery Emails

Display the items they left behind—complete with name and price.

Example:

Hi {{ firstname | default: “there” }},

You left this in your cart:

{% for item in cart_items %}

 

  • {{ item.name }} for {{ item.price }}
    {% endfor %}

 

Finish your purchase before it’s gone!

Why it works:

  • Creates urgency with real product details
  • No manual entry needed

  • Increases cart recovery with context

4. Recommend Products Based on Behavior

Show personalized product suggestions based on what the subscriber liked or purchased.

Example:

Based on what you liked, you might also love:

{% for product in recommended_products limit: 3 %}

{{ product.name }} – only {{ product.price }}
{% endfor %}

Why it works:

  • Feels like a curated recommendation
  • Encourages discovery and upsells

  • Works well in post-purchase or re-engagement campaigns

5. Location-Based Content

Change messaging based on the subscriber’s country or region.

Example:

{% if country == “USA” %}
Free shipping across the US!

{% elsif country == “Germany” %}
Versandkostenfrei in Deutschland!
{% else %}
Check your local rates at checkout.
{% endif %}

Why it works:

  • Helps global brands adapt content by market
  • Builds trust with regionally specific details

  • Improves clarity around shipping, pricing, or offers

Most Commonly Used Tags

Here’s a quick list of the most popular Liquid tags and what they do — copy & paste as needed!

  • {{ firstname }} → inserts first name
  • {{ firstname | default: “there” }} → fallback if name is missing
  • {{ country }} → inserts the subscriber’s country
  • {% if country == “US” %} … {% endif %} → shows a section only to US subscribers
  • {% if customfield == “yes” %} … {% endif %} → shows a section if a field is set
  • {% for item in_cart_items %} … {% endfor %} → loops through cart products
  • {{ product.name | upcase }} → transforms product name to uppercase
  • {{ product.price | round }} → rounds the price number

That’s it!

If you got stuck on a specific task or can’t find a way to execute a particular job, contact our support team via LiveChat or [email protected] – we’re here to help 24/7.

Premium capabilities Feels enterprise,
minus the price

All the features your business needs to acquire high-quality leads, grow sales, and maximize revenue from campaigns
using one simple dashboard.

Get Started For Free
Get Started For Free
shape 1
shape 2
shape 3
Sender logo
Product
Email marketing platformEmail marketingEmail automationBulk email senderEmail blast serviceNewsletter softwareText messaging serviceMarketing automationEmail templatesPricing
Features
Email campaignsDrag & drop email builderHTML email builderEmail A/B testingAudience segmentationEmail personalizationReports & AnalyticsLanding page builderAll features
Knowledge Base
Getting started with SenderGetting started with deliverabilityDomain authentication guideMarketing automation guideDrag & drop email builder guideIntegration guideSMS campaigns guidePayments & billingContact management guideGetting started with subscription forms
Support & Resources
Email marketing tipsHelp centerMigration serviceReport abuseTraining videosSender APIIntegrations
Company
Contact usAffiliate programTerms of serviceAnti-spam policyPrivacy policy
Get Started For Free
Trusted by 180,000 successful
businesses worldwide
Brand ratings
© 2012-2025 Sender.net
GDPR Compliant
ISO Certified
Secure Data Practices