SDK for JavaScript Reference Guide (v2.x and earlier)
important
This documentation is for earlier versions of the SDK for JavaScript. If you're using an earlier version, we recommend upgrading. See SDK for JavaScript Reference Guide, which includes a migration guide to upgrade to the current version, v4.
Use this SDK to facilitate the process of establishing client identity using EUID and retrieving advertising tokens. The following sections describe the high-level workflow for establishing EUID identity, provide the SDK API reference, and explain the EUID cookie format.
For integration steps for content publishers, see Client-Server Integration Guide for JavaScript.
Functionality
This SDK simplifies integration with EUID for any publishers who want to support EUID. The following table shows the functions it supports.
Encrypt Raw EUID to EUID Token | Decrypt EUID Token to Raw EUID | Generate EUID Token from Personal Data | Refresh EUID Token | Map Personal Data to Raw EUIDs | Monitor Rotated Salt Buckets |
---|---|---|---|---|---|
— | — |