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

**URL:** <https://forum.ghost.org/t/how-do-i-create-a-thank-you-page-after-confirming-subscription-on-email/15373>\
**Category:** Memberships & subscriptions\
**Created:** [June 24, 2020, 3:57am UTC](https://forum.ghost.org/t/how-do-i-create-a-thank-you-page-after-confirming-subscription-on-email/15373 "2020-06-24T03:57:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [June 24, 2020, 1:52pm UTC](https://forum.ghost.org/t/how-do-i-create-a-thank-you-page-after-confirming-subscription-on-email/15373/2 "2020-06-24T13:52:36Z")

</div>

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

> <https://github.com/TryGhost/Casper/blob/main/default.hbs#L107-L109>

By replacing the `addClass` line like so:

```plaintext
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 😊

---

_[View the full topic](https://forum.ghost.org/t/how-do-i-create-a-thank-you-page-after-confirming-subscription-on-email/15373)._
