PelcroAdBlockDisabled

Fired when no ad blocker is detected

Overview

Fired when the SDK confirms that no ad blocker is active in the user's browser.


When It Fires

This event fires during boot when ad blocker detection completes and no ad blocker is found.


Event Detail

The event.detail contains the ad block status:

ValueDescription
0No ad blocker detected

Example

document.addEventListener('PelcroAdBlockDisabled', (event) => {
  console.log('No ad blocker detected');

  // Load ads normally
  loadAdvertisements();
});

Related