How do I create a thank you page after confirming subscription on email

Hey @shavin47 :wave:
You can build upon that notification bar functionality and redirect successfully subscribed members. Check out the following code in Casper:

By replacing the addClass line like so:

if (action == 'subscribe') {
    window.location.href = '{{@site.url}}/thankyou/';
}

You can redirect people to a custom made thank you page. After you’ve added this code you’ll need to create a page with the slug thankyou and add the thank you message you want.

Hope this helps :blush:

1 Like