Integrate Insider into your Confirmation page

Prev Next

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 Insider's following JavaScript object to your success page before the Insider tag without any modification.

Your title goes here
For all payment types, the following object 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 Insider Object with Google Tag Manager to add this object to your website via Google Tag Manager.
<script>
    window.insider_object = window.insider_object || {};
    window.insider_object.page = {
            "type": "Confirmation"
    }
</script>

What aspects should we consider to integrate it?

Once you add the object, 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 object is updated on the respective page if it is a single page.

The page object should not load:

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

Next Steps