Mautic email editor has many possibilities, but also limitations. Here is some more flexible dynamic content that we have built that can be used in emails. We will add more content here, when needed.


1. Subscriber's email and name follows with the link to the registration form on webpage


https://monreform.org/webinar-hockett/?first_name={contactfield=firstname}&email={contactfield=email}



2. Progress bar of number of registrants

You can insert a progress bar into your emails, to do that insert new images, and then the following url:

https://monreform.org/wp-content/plugins/IMMR-mautic-plugin/shortcodes/registrants/image-generator/generated/{event_or_petition_uid}.png
You need to substitute {event_or_petition_uid} with the unique identifier of the event you want the counter for. You can also substitute just use the mautic shortcode {event_or_petition_uid}, to dynamically get it from the users current event regsitration data.

How it is working

Every hour, a cronjob is set up to run the file 
https://monreform.org/wp-content/plugins/IMMR-mautic-plugin/shortcodes/registrants/image-generator/generate_progress_bar.php

Then, new PNG images are auto-generated showing the progress bar for each event. These progressbars are in the folder:
https://monreform.org/wp-content/plugins/IMMR-mautic-plugin/shortcodes/registrants/image-generator/generated/

In this folder, you can access ever png image, they have the name {event_or_petition_uid}.png


Example image:

We are currently using a very basic layout, but we can update this later.

>