Integrating Insider Object via Google Tag Manager (GTM)
  • 26 Dec 2023
  • 1 Minute to read

    Integrating Insider Object via Google Tag Manager (GTM)


      Article Summary

      You can integrate Insider Object on your website with ease via Google Tag Manager (GTM) following the steps below.

      Creating a Custom HTML Tag for Insider Object

      • From the Tag section of Google Tag Manager (GTM), you can create custom HTML tags for all the objects required for any integration type you're implementing, then fire them form All Pages.
      • The Insider object must be added in within the <script></script> tag.
      • To fill in all properties, create a variable for each and assign those variables between double curly brackets — { } — as shown below.

      Creating Variables to be Assigned in Insider Object

      Create variable(s) from Variables section. 

      Best practices show that creating a Custom JavaScript Variable is one of the best ways to get information from any page on the website.
      • In Custom JavaScript section, please add a function to get the necessary information from the page and return that. For instance, you can write the function below if the product name is the page title.
      • You need to create variables for each value that will be added in Insider Object.


      Was this article helpful?

      ESC

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