Client-Server EUID Integration Example using JavaScript SDK

This example demonstrates how a content publisher can use the EUID services and the EUID SDK for JavaScript (EUID SDK) to implement the client-server EUID integration workflow. [Source Code]

EUID Integration Status

Ready for Targeted Advertising:
?
Indicates whether a valid EUID token is present and can be used for personalized ad targeting.
Advertising Token:
?
The encrypted EUID token that is passed to ad systems without exposing raw user identity. It is automatically refreshed by the SDK in the background when expired.
Is Login Required?
?
Indicates whether a new EUID token needs to be generated. Returns "yes" when no valid identity exists or the current identity has expired.
Has Opted Out?
?
Indicates if the user has opted out of EUID. When true, no advertising token is generated or stored.
Identity Callback State:
?
The complete identity object returned by the SDK. Contains the full EUID identity data including refresh tokens and metadata.