Installation
Follow these steps to add the script to your site:- Open your page’s HTML file.
- Insert the code below before the end of the
</body>tag.
Options
You can pass the following props to the script to customize the default states:Your organization ID in InZone. This information is required to retrieve your
organization’s campaigns.Get your organization ID from your InZone organization settings page.
Set whether the script should load by default.
Set whether analytics consent should be disabled by default.
Learn more about consent.
Set whether country tracking consent should be disabled by default.
Learn more about consent.
Why use async?
The async attribute ensures that the script loads in the background, independently of other elements on the page.
This prevents any delay in rendering your website content and ensures that the banner campaigns will load without
slowing down your site.
Important Notes
The script must be installed:- On all desktop and mobile pages.
- On all pages you want to add InZone.
- In all languages, if applicable (
/en,/pt,/de…). - At every step of the shop provider, if we do not have integration.