Skip to main content
Version: current (0.10)

Consolidated Identifier Tracking

Collecting strong user identifiers (verified emails or wallet addresses) at sign-up or login is mission-critical for accurate attribution, retention analysis, and ROI integrity.

Why it matters​

  • Cookies and device IDs are unreliable — they're reset, blocked, or fail to persist across browsers and devices.
  • Verified identifiers are persistent — email or wallet logins unify a user's actions across sessions, devices, and platforms.
  • Eliminates fragmented data — a single, coherent view of each user, even across ecosystems.
  • Prevents duplicate profiles — avoids analytics distortion from multiple anonymous sessions tied to one real person.

Implementation​

// On user login or sign-up
LuciaSDK.userInfo('johndoe@email.com', {
first_name: 'John',
last_name: 'Doe',
contact: '1234456722',
});

// For wallet-based login
LuciaSDK.sendWalletInfo('0xabc...123', 1, 'Metamask');

Collect these identifiers as early as possible so user actions are never lost or misattributed. Over time, more verified identifiers (emails, wallets) strengthen your data foundation and enable more precise segmentation and attribution. See How Attribution Works for how these signals resolve into one profile.