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
  • Replies 1
  • Views 446
  • Created
  • Last Reply
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, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.