Mautic Form per Lead from Email

Hi, I have a few questions about Mautic, If I send links to landing pages (that contains a form) in emails, does mautic add something to the URL that identifies the same person from the email? (It doesn’t create 2 leads separate, keeps it the same lead) Also, is there a way to have a form expire after it has been submitted per lead?

Hi, I have a few questions about Mautic, If I send links to landing pages (that contains a form) in emails, does mautic add something to the URL that identifies the same person from the email? (It doesn’t create 2 leads separate, keeps it the same lead) Also, is there a way to have a form expire after it has been submitted per lead?

Hi!

Yes, Mautic does append an encoded identifier to links to identify the specific lead the email was sent to.

Right now, there’s not a built in way to have the form expire after a lead has submitted it. If you know a little JavaScript, you could probably do this yourself by using a combination of cookies and Mautic’s form callback support. For example, you can define somewhere on the page,

<script>
var MauticFormCallback = {
    yourFormName: {
         onResponse: function(response) {
            document.cookie="formsubmitted=yourFormName";
            // Some code to hide the form
         }
    }
};
</script>

Then add some code on page load to check for that cookie and auto hide the form.

I would recommend that you add the option to hide form after lead submits as a feature request at https://github.com/mautic/mautic/issues.

Thanks!
Alan

Thank you, sent off the feature request: https://github.com/mautic/mautic/issues/569