Insider simplifies your lives by helping you connect your data, understand how your users think, and predict what they’ll do next with the help of AI. You can create captivating experiences that build brand love—at scale. Then, how does Insider do it, how does it help you engage with your audience and, therefore, raise your ROI?
How does Insider Work: The logic behind
Below are the steps in a row showing how Insider works;
The user accesses the browser and types the website's URL.
The browser sends a request to the server where the website is hosted.
The server sends the HTML document back to the browser.
The browser starts reading the HTML document and shows it to the user.
While the browser reads and displays HTML to the user, if Insider code is integrated, the browser sends an additional request to Insider’s server.
The request is checked on Insider's servers, and the content is returned to the user, along with information about the personalizations set for that website.
The browser starts rendering the changes retrieved from Insider's server to the user while the page is loading.
Integration
Insider Tag Integration
You need to implement the Insider integration code, which can be easily done using various methods. You can do it in your website's source code, via tag managers such as GTM or Tealium, or via plugins such as Shopify. Then, you can start using Insider's services.
Insider API Code Structure
The following JavaScript code is an Insider integration snippet designed for your website's HTTP and HTTPS pages.
<script async src="//{partnerName}.api.useinsider.com/ins.js?id={partnerId}"></script>Loading option: It means whether Insider’s code is loaded synchronously or asynchronously. We recommend you load our code as an asynchronous tag.
Partner name: It is your partner name written on the InOne panel.
Partner ID: It is your partner ID.
Integration Loading Option: Sync vs. Async
You can load Insider code with an asynchronous tag or a synchronous tag.
Asynchronous code runs in parallel. If your loading option is asynchronous, the browser will send the request to the server but will not wait for the response. While it sends the request, it continues showing the content to the user.
It is the default option.
Insider code loading is independent of the website, so Insider cannot affect the loading speed.
The website doesn't wait for the code to load.
Users can access the website regardless of whether they have an Insider’s code.
Synchronous code runs in sequence. If the loading option is synchronous, the browser will wait for a response from the server before it continues loading the website. Otherwise, if there is no response from the server, it will stop reading, wait for the response, and continue loading the website accordingly.
It makes the website wait for the code to load.
In the event of a failure or outage, users cannot access the website.
For further information, refer to the Insider Tag integration.
We recommend loading the Insider Tag as an asynchronous tag. Asynchronous integration prevents pages from being blocked while the Insider Platform renders changes on your website.