Now you can complete this integration on Insider One's new onboarding center. Refer to Insider Onboarding Center for further details.
Previous Steps:
Customers who complete a transaction on your website are directed to a confirmation or success page. You should integrate Insider into your Confirmation page to keep track of these transactions.
How can we integrate Insider into the confirmation page?
You should add the InsiderQueue array to your success page before the Insider tag without any modification.
Your title goes here
For all payment types, the InsiderQueue must load before the Insider tag (ins.js). Otherwise, the page type information will not be reachable, and the transaction will not be counted as a conversion.
Your title goes here
Refer to Web SDK Integration to add this tag to your website. Below, you can find the example script for the type: ‘purchase’ method of Insider Web SDK.
<script>
window.InsiderQueue = window.InsiderQueue || [];
window.InsiderQueue.push({
type: 'purchase'
});
window.InsiderQueue.push({
type: 'init'
});
</script>
What aspects should we consider to integrate it?
Once you add the InsiderQueue array, be sure that:
- It loads before the Insider Tag (ins.js).
- The page type is "Confirmation" for all successful transactions made with all payment types (e.g., payment on delivery, credit card, bank transfer, etc.).
- The page type does not return "Confirmation" for failed transactions.
- The tag is updated on the respective page if it is a single page.
The type: 'purchase' should not be pushed:
- After refreshing the Confirmation page,
- If the user goes to the home page and heads back to the confirmation page via the Back button,
- After visiting other page types,
- After pasting and loading the confirmation page URL on a new tab.
- After visiting another page after the "after payment page" on single page applications.