Payment redirects
Why use Payment redirects?
When using a clone, you obviously want to know if the site is actually producing results. You can link the clone to Google Analytics, but then you won't have any insight into the clone's e-commerce. Fortunately, Clonable has come up with a solution to this. Using the conversion tracking function, tracking your orders from the clone becomes easier.
You can find this functionality under Clone setttings → Payment redirects.
Applying Payment redirects
With Payment redirects, you can ensure that when check-outs occur, the website visitor visits the correct page. So this also allows you to regulate which clone the visitor comes from. This also applies to the Paid and Thank You page.
Two paths have to be added to the source code of your original website: the path of the checkout page (a page the visitor visits anyway before going to the page of the payment provider; e.g. /checkout). And secondly, the path of the confirmation page. This is the page where every visitor lands after the payment has been made. This is usually the page that thanks the customer for the purchase and gives and overview/summary of the order.
Checkout page
For the Checkout page, enter the url path starting with "/" this url should be a page where the visitor is sure to arrive before payment is due. Make sure the url entered is from the original site.
Thank you page
For the Thank you page, enter the url path that starts with "/". this url should be a page that the visitor gets to be on after completing a payment. This page normally contains information about a listing of the buyer's purchases with a short message like "Thank you for your purchase from...".
Make sure you enter the paths from the original website, not from the clone. If you have a clone with translation, Clonable will ensure that the correct translation of the URLs is used.
Insert Redirect script
Next, you need to add the script generated in Clonable's backend to the source code of your original website. You can copy and paste this very easily. By pasting this script into the source code of your original website, visitors will be redirected to the clone's domain after paying on the clone. Normally, the payment page will in fact redirect visitors to the original domain, so precise conversion cannot be measured. Installing this script ensures that you can accurately track which purchases come from your original domain, and which from the clone.