Integrating Insider into your Confirmation page
  • 29 Mar 2024
  • 1 Minute to read

    Integrating Insider into your Confirmation page


      Article Summary

      Now you can complete this integration on Insider's new onboarding center. Refer to Insider Onboarding Center for further details.

      Previous Steps:


      When customers complete a transaction on your website, they are directed to a confirmation or success page.  To keep track of the transactions on your website, you should integrate Insider into your Confirmation page.

      How can I 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
      The following object must load before the Insider tag (ins.js) for all payment types. Otherwise, the page type information will not reachable and the transaction will not be counted as a conversion.
      Your title goes here
      If you want to add this object to your website via Google Tag Manager, refer to Insider Object with Google Tag Manager.
      <script>
          window.insider_object = window.insider_object || {};
          window.insider_object.page = {
                  "type": "Confirmation"
          }
      </script>

      What aspects should I 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 any 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


      Was this article helpful?


      ESC

      Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses