Support » Plugin: Mailjet Email Marketing » Not good anchor after subscription with widget

  • Vladimir

    (@vladimir-slonska)


    Hello,

    When you subscribe with the widget, the page where you are reload and you are sent where is the widget.
    But in my case, I am sent at the very bottom of it. And with the sticky menu I have, I can’t see the message of confirmation…
    I think you should see the message in the middle of the page, and not at the top as now.

    Thanks,

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mailjet

    (@mailjet)

    Hi, please can you share the url of the page, so we can see how it behaves.

    Thanks,
    Martin

    Thread Starter Vladimir

    (@vladimir-slonska)

    Hello,

    Yes, of course : https://www.vslonskamalvaud.fr/

    Thanks,

    Plugin Author Mailjet

    (@mailjet)

    In fact, what I can advise as a workaround is to create a dedicated “Thank you page” in your WordPress site and then redirect the users there after successful confirmation.

    Here is a link to the plugin guide that explains how to set a custom “Thank you” page: https://www.mailjet.com/guides/wordpress-user-guide/widget-setup/#thank-you-page

    Thread Starter Vladimir

    (@vladimir-slonska)

    Hello,

    Thank you for your answer.

    But it is not a good workaround, as when you subscribe to a list, you don’t want to go to another page and interrupt your navigation. The normal and frequent way to do is to have a message of confirmation in ajax, without reloading the page. This way, you stay where you are and it’s much better.

    Plugin Author Mailjet

    (@mailjet)

    The problem with ajax is that we can’t handle translation of the message for multilingual sites, so it is a constraint :/

    But having a second look, after submitting the form, the page scrolls down to the widget so the user can see the message. I tested it in Chrome and Firefox.
    https://gifyu.com/image/EOdM

    Thread Starter Vladimir

    (@vladimir-slonska)

    Yes, I understand the problem.

    The page scrolls down, but it’s the position where you arrive which can be a problem if you have fixed element at the top of the document (it depends of the size of the screen also, sometimes it’s ok as in your test, sometimes it’s under the menu and you can’t see it).

    Couldn’t you calculate the position of the scroll to have the message not at the top of the page but at the middle (something like scrollTop + 1/2 document height – 1/2 confirmation message height) ?

    Thanks for the answer,

    Just following up on this. I’m having a similar issue. My widget is in the footer at http://www.reach.vote and when I submit the form, the page reloads and is scrolled to the top with the message not visible so it appears it didn’t work. Any way to fix this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not good anchor after subscription with widget’ is closed to new replies.