Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #829756

    Hi,

    I can’t find the option to redirect to a new page after subscribing with Mailchimp Widget (just like we can do it in a page with the “Mailchimp subscibe” element)…?

    Can you help please?
    Thanks!!!

    #831449

    Hey Wazzabi,

    Here are some threads that might help you:
    https://kriesi.at/support/topic/how-to-get-an-opt-in-form-to-redirect-to-new-page-for-facebook-pixels/#post-697435

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #831455

    Thanks, but my issue is different…

    The problem is that there’s no option to fill the “data-avia-redirect” in the “Appearance > Widgets > Enfold Mailchimp Newsletter Signup”
    I need to redirect to a new page after signing in…

    Please help!

    #832252

    Hi Wazzabi,

    You can add this attribute by JavaScript or you can redirect by using JavaScript. Do you need help with that?

    Best regards,
    Victoria

    #832344

    Yes I’a like to add this attribute. Yes I’d like some help for javascript, please…

    Regards,

    #834567

    Hi,

    Please add the following script in the functions.php file.

    // redirect mailchimp
    function ava_custom_script_mod(){
    ?>
    <script>
    (function($){
    		$('.av-mailchimp-widget').on('click', function() {
    			$('body').on('av_resize_finished', function() {
    				var redirect = 'PAGE URL HERE';
    				location.href = redirect;
    			});	
    		});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script_mod');

    Modify the “redirect” value.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.