Adding Display Notification Events for Fullpage Interstitials
Once you have clicked on Create in the New Zone screen, you will be presented with the snippet for your new ad zone.
Desktop Fullpage Interstitial and Mobile Fullpage Interstitial zones will be presented with an extra script to be added if needed.
This script adds an event listener to the event called ‘creativeDisplayed’ suffixed with a zone id that is triggered when the ad is displayed to the user.
This event listener allows you to programmatically execute any action you may need on your website and get more information about the element that triggered the event, such as URL, id, classes and text.
Example – Fullpage Interstitial
idzone = 4362883
Action to execute = Display message Creative shown!