Add field and variant data to redirect URL
Add information collected at checkout to your redirect URL to use in your checkout flow, thank you page or pre-fill in another checkout.
When you're building a checkout flow or want to use a custom thank you page, you'll use the Redirect URL to navigate your customer to this page after successful checkout.
To personalize this page, you can use information collected at the checkout, such as customer name, customer email and order details.
How to add query and path variables?
In the Checkout confirmation & redirect setting under After payment, you'll add the next step in your checkout flow, such as a landing page or a thank you page.
After adding the Redirect URL, you can query and path variables.
We don't recommend using the redirect URL to store information collected at checkout. If you need to store information collected at checkout in your own database, spreadsheet or CRM, we recommend using Zapier.
How to use path variables?
Path variables allow you to structure the URL path, redirecting to a different page within your site based on the order information. An example would be:
How to use query variables?
Query variables, or URL parameters, allow you to add data to a URL, which you can use on the page.
For example, you can use the customer's name to say "Thank you, John" and repeat the email address to which their order confirmation will be sent.
If you're redirecting to a website that contains a checkout embed or pop-up, you can use query variables to pre-fill information in the checkout.
Query variables look like this in the URL:
First, type in the Parameter, and then you'll click on the information you want to add. For example,
customer_name , then click on Name. Now your query variable has been added.