How to redirect to a specific page after customer account activation?

Topic summary

Goal: change the post-activation redirect so invited customers land on a specific page (e.g., /pages/page-name) instead of /account.

Proposed approaches:

  • Edit the activate_account template and add a conditional redirect when a customer is present. The suggestion points to adding logic at the top of activate_account.liquid to send authenticated users to a custom URL (replace with your target page).
  • Add a return_to parameter to the activate account form. In Dawn, edit the section rendering the form (main-activate-account.liquid) and use form ‘activate_customer_password’, return_to: next_page, where next_page builds your desired path. If the theme submits via JavaScript, adjust the JS handler instead. Note: return_to is a Liquid form option that sets the redirect after successful submission.

Status/outcome:

  • Original poster adopted an alternative workflow and no longer needs a solution but did not share details. Another participant encouraged sharing the workflow and marking it as an alternate solution.

Notes:

  • Screenshot provided but not essential to the solution.
  • No final, publicly confirmed implementation; thread effectively closed by OP without details.
Summarized with AI on December 24. AI used: gpt-5.

How can i change where the customers/activate_account form redirects after submitting passwords in the form?

Current User Flow:

  • user is sent an account invite email from Admin
  • navigates to the store.account/activate/xxxxx
  • fills in password and confirms password
  • clicks ACTIVATE ACCOUNT button
  • user is directed to their account page i.e. store.com/account <--------- I would like to change this to redirect to another page on the store such as: store.com/pages/page-name

Hello @ShowcaseDeckBox ,

Follow these steps:

  1. Go to Online Store → Theme → Edit code
  1. Edit activate_account.liquid you can find this file under templates.
    Add this code at the top of the file
{% if customer %}
  
{% endif %}

Note: Change /your-redirect-url with the actual page you have.

Thanks

You should find in your liquid code where the form is rendered, for example,
for Dawn – https://github.com/Shopify/dawn/blob/main/sections/main-activate-account.liquid#L32 and add a
return_to parameter (https://shopify.dev/docs/api/liquid/tags/form#form-return_to)

{%- assign next_page = routes.root | append: "pages/page_handle" -%}
 {%- form 'activate_customer_password', return_to: next_page -%}

In case your theme submits this form with JS, you’d need to modify the JS code, but need to know the theme name to suggest anything.

Thank you all who replied. I found an alternative workflow, therefor I no longer need this answered. Maybe this will help someone else looking. Thanks again!

@ShowcaseDeckBox you can share the details and alternative workfows and mark your own posts as alternate solutions for future merchants.