Tagged: x
-
AuthorPosts
-
March 7, 2017 at 10:15 am #1397875
lucasmzmendesParticipantHi everyone,
I have a question about the Email Form Add-on in Theme X.I want to use it as a leadgrabber on my landing page. I have integrated the add-on with my Mailchimp account and I’m already adding new users to the appropriate lists.
Once users submit their email through the email form, I redirect them to another URL (in my main rails app), using the Redirect confirmation method, where they will complete their signup.
However, I would like to pass the user’s email as a query parameter in the redirect URL (e.g.: http://myurl.com/?email=my@email.com), so my rails app can read it and prefill the appropriate signup field.
I can already read the parameter, but can’t seem to find an option to pass the user’s email as a parameter. Can you guys help me achieve that?
Thanks!
March 7, 2017 at 12:31 pm #1398091
RupokMemberHi there,
Thanks for writing in! It’s not currently possible but we are releasing new version soon with X 5 where you will be able to show success message without redirecting. Kindly wait for few days.
Cheers!
March 7, 2017 at 12:34 pm #1398094
lucasmzmendesParticipantHi,
Just to make it clear, I’m not trying to show a success message. I’m trying to change the redirect URL based on the email field.Would that be possible?
March 8, 2017 at 3:36 am #1398815
LelyModeratorHi There,
It is possible with a customization that is beyond the scope of our support. I can point you to the file that handles the redirection. It is on this file
wp-content\plugins\x-email-mailchimp\email-integration\js\site\main.js at line 27.Then this link might help you too:http://stackoverflow.com/questions/15652251/add-variable-to-end-of-href-url-onclick-jqueryNote that updating a plugin is not recommended because it might stripped out on plugin updates.
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1397875 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
