blog

Referencing subscriber tags in your newsletter

Use tags with templating to customize your emails!

Referencing subscriber tags in your newsletter
Note
CloseThis blog post is from 2021. Contents (and screenshots) may be a bit of out date, but we've kept it up out of posterity.

You've been able to reference subscriber metadata in your emails for a while now. This is a great way of creating a mail-merge-esque effect and customizing your newsletter for your recipients:


{% if subscriber.metadata.first_name %}
Hello {{ subscriber.metadata.first_name }}!
{% else %}
Hello friend!
{% endif %}

Published on

February 12, 2021

Filed under

Written by

Justin Duke

Justin Duke is a software engineer, lover of words, and the creator of Buttondown.

No credit card required. Only pay for what you use. Cancel anytime.