Not working with Mautic forms
-
I was super excited to discover this plugin, but after trying to use it with my Mautic form, it doesn’t appear to work. I want to create a locked content page ‘Locked Page’ that requires an optin form on the page ‘Opt In’ to be completed first.
On the ‘Opt In’ page I placed the [goal id=”nnn”] shortcode.
On the ‘Locked Page’ I placed the [complete_goal id=”nnn”] shortcode and set the options in the B&A Metabox as follows: 1) Checked Enable Page Protection, 2) Chose the proper goal in the Require Visitors To Complete This Goal Before Viewing This Page dropdown, and 3) set the redirect field under Send users who have not completed the goal to this URL: to /opt-in/
However, on submission of the form I simply remain on the ‘Opt In’ page and never get redirected to ‘Locked Page’.
The issue may have to do with the fact that a Mautic form requires one of three actions on form submission (Successful Submit Action): 1) Remain at form, 2) Redirect URL, and 3) Display message. All three options have the same effect: I don’t get re-directed to ‘Locked Page’. Perhaps the Mautic form action and the B&A form actions are conflicting somehow?
I thought maybe I was leaving out a ‘Thank You’ page in the middle (as the plugin instructions suggest). So I created a ‘Thank You’ page and inserted the [complete_goal id=”nnn”] shortcode there along with a button linking to the ‘Locked Page’. Then I set my Mautic form action to redirect to ‘Thank You’. Upon form submission, I was successfully redirected to the ‘Thank You’ page. However, anyone with the URL can simply visit that page and essentially “unlock” the ‘Locked Page’. Seems to defeat the whole purpose of the plugin.
So I am kind of stumped here. Do I even need the ‘Thank You’ page? I’d prefer visitors to go straight from ‘Opt In’ to ‘Locked Page’. However, it seems that either the Mautic form action or Mautic’s javascript are conflicting with the B&A plugin.
Any ideas?
- The topic ‘Not working with Mautic forms’ is closed to new replies.