Back to Blog

Content Personalisation in Mautic - Tutorial on Mautic Dynamic Content

M
Mautomic Team
2 min read

In Mautic, content personalisation is done with the use of a "Dynamic Content" feature. This powerful tool allows you to display different content to different visitors based on various criteria.

How Dynamic Content Works

In Mautic, Dynamic Content can be displayed to users in 2 ways:

  1. By directly filtering out the users to whom we want to show a message
  2. Via a Campaign of which the part may be displaying the particular customised message

Let's explore both methods.

Content Personalisation using Filters

Head over to Components >> Dynamic Content and add a new piece of dynamic content.

  1. Give it a meaningful name for you to understand when you return here some other time
  2. In the "Content" section enter the exact content you want to display
  3. Toggle the Is campaign based switch to No
  4. Fill in the "Requested slot name" field with an alphanumeric string
  5. In the Filters tab, enter the conditions which have to be met for the content to be displayed

By using Filters you can generate quick personalisations with visitor segments created on the fly.

Content Personalisation via Mautic Campaigns

For more complex campaigns with multiple steps or interactions, you'll want to personalise content for visitors based on a campaign.

To create campaign-based Dynamic Content:

  1. Create a Dynamic Content element with "Is campaign based" set to Yes
  2. Go to the Campaigns section and choose your campaign
  3. Click Campaign builder
  4. Add a Decision element and select Request dynamic content
  5. Configure the slot name and select the Dynamic Content piece to use

Adding Dynamic Content to Your Website

The last step is to add the slot to your website so Mautic can replace the default content.

Add these attributes to your HTML tag:

  • data-slot = dwc
  • data-param-slot-name = your-created-slot-name

Example:

html
<h1 data-slot="dwc" data-param-slot-name="by-country-welcome-france">
  Hi! Check out our events
</h1>

Using Contact Details for Personalisation

You can achieve more direct personalisation by using data collected on particular users.

Create a Dynamic Content element with filters set to Country not empty, then use tokens to pull data from the contact record. Start typing after a parenthesis { and Mautic will suggest available tokens.

Summary

Mautic's Dynamic Content feature makes it easy to personalize messages based on contact data. While this tutorial uses simple examples, the same methodologies apply to more complex customisations like banners, sliders, and entire page sections.

M

Written by

Mautomic Team

The Mautomic team brings together experienced marketing automation specialists, developers, and consultants dedicated to helping businesses succeed with Mautic.

Need Help with Mautic?

Our team of experts is ready to help you implement and optimize your marketing automation.

Get in Touch