Jump to content

Redirecting after purchase

Recommended Posts

I want to redirect users to a page other than the Order Confirmation page after a successful purchase. 

The issue is that we have an affiliate program and have added a tracking code to the code injection of the order confirmation page that tracks when a user completes a purchase and assigns credit to the appropriate affiliate. 

If I put a redirect code into the code injection of the order confirmation page, will the affiliate tracking code still fire? 

Thanks! 

Link to comment
10 hours ago, Lfurtick said:

I want to redirect users to a page other than the Order Confirmation page after a successful purchase. 

The issue is that we have an affiliate program and have added a tracking code to the code injection of the order confirmation page that tracks when a user completes a purchase and assigns credit to the appropriate affiliate. 

If I put a redirect code into the code injection of the order confirmation page, will the affiliate tracking code still fire? 

Thanks! 

you should set a timeout or callback that when the tracking code finish it will redirect

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.