How do I create dynamic content in Aivie / Mautic?

With reusable dynamic content, you can create content once and then reuse it in different emails. Both static content and dynamic content.

How can I create dynamic content?

You can use the full power of TWIG here.

Here we show you some examples:

Formulate the address differently according to gender

<!--{% if contactfield.gender == 'Female' %}-->
Sehr geehrte Frau {{contactfield.lastname}}
<!--{% elseif contactfield.gender == 'Male' %}-->
Sehr geehrter Herr {{contactfield.lastname}}
<!--{% else %}
Guten Tag {{contactfield.firstname}} {{contactfield.lastname}}
<!--{% endif %}-->

Display different content depending on the segment

<!-- {% if 'Interested in A' in contactfield.segments %} -->
<a href="#">Link A</a>
<!-- {% elseif 'Interested in B' in contactfield.segments %} -->
<a href="#">Link B</a>
<!-- {% else %} -->
<a href="#">Link default</a>
<!-- {% endif %} -->

Display different content depending on the tags assigned

<!--{% if 'verified-email' in contactfield.tags %}-->
You are verified
<!--{% else %}-->
You need to verify
<!--{% endif %}-->

How can I use dynamic content in emails?

You can then use this dynamic content directly in the email builder. Simply drag and drop the block onto the canvas and select the appropriate element.

Für dich da.

Wir bieten dir lokalen Support und Services.

  • Wir unterstützen dich
  • Kostenloser Support per FAQ, Chat oder E-Mail. VIP Support per Video Telefonie.
  • Umgehende Support-Rückmeldung
aivie marketing automatin lokaler support adrian schimpf