Show personalized Mautic content on your website or share it via a direct link using Twig Templates.
You can use your Mautic Twig Templates not just in emails and landing pages, but also directly on your own website or share them using a special link. This lets you put personalized Mautic content anywhere on the web.
Mautic provides two ways to do this when you view a saved Twig Template:
Add personalized Mautic content directly onto your website pages (like banners or messages). Mautic gives you a Javascript code snippet to paste into your site’s HTML.
How to Get the Code:
Example Snippet:
How it Works:
Remember to replace https://your-mautic.com
with your Mautic URL. The {TEMPLATE_ID}
and {UNIQUE_HASH}
are unique to your template and provided by Mautic.
Get a unique URL that displays your rendered Twig Template as a standalone HTML page.
Useful For:
<iframe>
on another site.How to Get the Link:
Example Link:
How it Works:
Replace https://your-mautic.com
, {TEMPLATE_ID}
, and {UNIQUE_HASH}
with the actual values provided by Mautic for your specific template.
Using these embedding options helps you extend Mautic’s personalization power beyond emails and landing pages.
Show personalized Mautic content on your website or share it via a direct link using Twig Templates.
You can use your Mautic Twig Templates not just in emails and landing pages, but also directly on your own website or share them using a special link. This lets you put personalized Mautic content anywhere on the web.
Mautic provides two ways to do this when you view a saved Twig Template:
Add personalized Mautic content directly onto your website pages (like banners or messages). Mautic gives you a Javascript code snippet to paste into your site’s HTML.
How to Get the Code:
Example Snippet:
How it Works:
Remember to replace https://your-mautic.com
with your Mautic URL. The {TEMPLATE_ID}
and {UNIQUE_HASH}
are unique to your template and provided by Mautic.
Get a unique URL that displays your rendered Twig Template as a standalone HTML page.
Useful For:
<iframe>
on another site.How to Get the Link:
Example Link:
How it Works:
Replace https://your-mautic.com
, {TEMPLATE_ID}
, and {UNIQUE_HASH}
with the actual values provided by Mautic for your specific template.
Using these embedding options helps you extend Mautic’s personalization power beyond emails and landing pages.