PelcroFingerprintReady

Fired when device fingerprinting completes

Overview

Fired when device fingerprinting is complete. This is one of the earliest boot-time events and indicates the SDK has captured device identification data.


When It Fires

This event fires during boot, before:

  • Site configuration loading
  • User session restoration
  • Any other SDK initialization

Event Detail

This event has no detail payload.


Example

document.addEventListener('PelcroFingerprintReady', () => {
  console.log('Device fingerprint captured');

  // Device hash is now available
  console.log('Device hash:', window.Pelcro.deviceHash);
});

Use Cases

  • Debugging device identification issues
  • Early initialization of device-dependent features

Related