Skip to main content
Important: Please ensure your CMP configuration includes new Vendor ID 1469 for 1st Party data tracking. Additionally, include Vendor ID 301 if cookie sync is enabled. Learn more
The unSetUserIdentities method removes user identities that were set using the setUserIdentities method.

Syntax

unSetUserIdentities()

Usage Example

import { unSetUserIdentities } from 'zeo-collect';

// Clear user identities on logout
const handleLogout = () => {
    unSetUserIdentities();
    console.log("User identities cleared");
};
Last modified on June 25, 2026