Skip to content
Documentation

Website configuration

Once you’ve decided where on your website to display the content, you must create an area to add the content. Mautic is platform-agnostic - you can add slots into any website you have created. To do this, create an HTML slot to display the Dynamic Web Content.

Change myslot in data-param-slot-name="myslot" to the Requested Slot Name of your Dynamic Web Content item:

<div data-slot="dwc" data-param-slot-name="myslot">
<h1>Dynamic web content for myslot</h1>
</div>

You can add your own default content between the <div> tags to ensure that content displays when the filters aren’t matching - for example with new anonymous visitors or a Contact that doesn’t match the criteria you have specified.

Content Management System Plugins for Mautic also have specific ways to embed the content, for example:

  • Joomla - {mautic type="content" slot="slotname"} Insert default content {/mautic}
  • WordPress - [mautic type="content" slot="slotname"] Insert default content [/mautic]