Skip to main content
You can add InZone script to your Webflow website same way you would add Google Analytics script or any other JavaScript code.

Installation

Follow these steps to add the script to your site:
  • On your project’s page, click on the Webflow logo in the left-hand side menu and choose Project Settings.
  • Choose Custom Code from the menu and paste the InZone script in the Head Code section.
  • Click on the Save Changes button and then Publish your changes.
<script src="https://cdn.inzone.globres.io/js/widget.js" async></script>

Options

You can pass the following props to the script to customize the default states:
data-organization
string
required
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.
data-init-on-load
boolean
default:"true"
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.