Custom tags for Mautic
composer require kuzmany/mautic-custom-tags-bundle
- Go to Mautic > Plugins and click to the button Install/Upgrade plugins
- New plugin should be added
- Then create email or page and you can use these tags:
{getremoteurl=http://yourremote.url}
The tag get content from your remote url.
You can display remote content from external site in your email or page.
You are able to use contact field in url. Contact field use in format [contactfield=alias]
. Your token will looks like:
{getremoteurl=http://yourremote.url?firstname=[contactfield=firstname]}
You are able to use |decode
modifier to urldecode URL. Your token will looks like
{getremoteurl=http://yourremote.url?test=1&test=1|decode}
{base64decode=customtextareafield}
The tag decode base64 encoded content from contacts custom textarea field.
You can pass base64 encode data to contact from API and then display in email or page.