Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1397875
    lucasmzmendes
    Participant

    Hi 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!

    #1398091
    Rupok
    Member

    Hi 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!

    #1398094
    lucasmzmendes
    Participant

    Hi,
    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?

    #1398815
    Lely
    Moderator

    Hi 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-jquery

    Note that updating a plugin is not recommended because it might stripped out on plugin updates.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1397875 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>