Usage
You can control tracking through JavaScript functions:-
disableTracking(): Once called, no analytics data (such as impressions and clicks) or location data will be collected for that user. Campaigns will still be displayed, but without tracking their interactions. -
enableTracking(): Restores analytics and location tracking for the user.
Data Attributes
You can also control tracking through data attributes in the script tag:data-consent-analytics: Controls analytics tracking (default: “true”)data-consent-country: Controls location-based tracking (default: “true”)
Best Practices
- Explicit consent: Always ensure that users are clearly informed about what data is being tracked (e.g., location, clicks, etc.) and provide them the ability to opt-out.
- Default state: In compliance with GDPR and similar regulations, tracking should be disabled by default unless the user explicitly opts in.
- Respect user preferences: Even if the user disables tracking, continue displaying campaigns without collecting analytics data (if they accept the ad/marketing category.).
Example with CookieFirst
If you have a consent banner on your site, you can integrate the consent management with InZone’s tracking functionality. Since tracking is enabled by default, we recommend disabling it immediately when the script loads and only enabling it after getting user consent:CMP Example
Suppose a third-party marketing platform like “GlobRes.” provides a tracking script for targeted ads. It might supply the following to the website owner’s CMS:- Identity: “GlobRes, a data controller.”
- Purpose: “Delivering personalized ads based on browsing behavior.”
- Data Collected: “IP address, user agent, pages visited and banner interactions.”
- Retention: “Persistent.”
- Technical Note: “Script iz.js tracks only if ‘advertising’ consent is granted.”