All Collections
Build My Storefront
Advanced Site Customization
Redirect Away from Catalog After Checkout
Redirect Away from Catalog After Checkout

Redirect your users to a specific page after purchase.

Updated over a week ago

Checkout Redirect Defaults

By default, there are a few scenarios for the redirect that users experience after the checkout workflow has completed.

Scenario 1: Users arrive at the checkout workflow from a specific content page (like a video page). In this scenario, users will be redirected back to that content page from where they initially started the checkout process.

Scenario 2: Users arrive at the checkout workflow from the homepage page via a CTA button linking to the Join Page (/join). In this scenario, users will be redirected to the Catalog page.

Scenario 3: Users arrive at the checkout workflow from a link to the Join Page (/join). In this scenario, users will be redirected to the Catalog page.

Scenario 4: Users arrive at the checkout workflow from a link to a bundle. In this scenario, the user will be redirected to the Catalog page. Please enable the My Library option if you sell bundles.

Customization of Checkout Redirect

NOTE: Our support team is unable to provide assistance with the implementation of this custom code. While we provide the instructions below, implementation of this code is your responsibility.

If you want to try something different from Uscreen's default logic and would like to change the redirect, you can do so by adding your custom script to the Purchase Code Snippet by accessing https://www.uscreen.io/admin/snippets/edit.

You can use javascript to assign your desired URL to the Purchase Code Snippet using the code below:

<script>
// Replace the redirect destination URL below
let redirectURL = "https://google.com";
window.location.assign(redirectURL);
</script>

One downside of this approach is that none of the tracking pixels will work properly anymore. In order to keep the tracking pixels working, change the wrap location in setTimeout function with a 2000 millisecond timeout.

In this case, everything should work just fine, and you should be able to trigger the redirect for your users faster than Uscreen's general workflow.

NOTE: Please take into consideration that the default setTimeout is set to 4000 milliseconds.

Did this answer your question?