Skip to main content
Skip table of contents

CDN / Edge Server

Clients can use their edge server with Teavaro’s first party umdid cookie to fetch profile data. The default cookie path restriction is disabled in this case, so that other first party domain calls obtain the cookie.

This can be done using Teavaro’s Info Ident Track or Data Retrieval API with umdid as lookup ID passed in query string parameter.

If you are managing profile data including umid, you can also use the umid as lookup ID with your own profile API. The umid can be obtained from local storage fcData key or the umdid cookie, see HTTPOnlyCookie.

Since the umdid cookie consist of a base 64 encoded string of umdid|umid|type, one can extract the umid for example using this JavaScript:

JS
function decodeBase64(encodedString) {
    // Decode the Base64 encoded string
    const decodedString = atob(encodedString);

    // Split the decoded string by the pipe separator '|'
    const parts = decodedString.split('|');

    // Print the value right of the first pipe separator
    if (parts.length > 1) {
        console.log(parts[1]);
    } else {
        console.log("No pipe separator found.");
    }
}

const encodedString = "MjMxOWE4NTYtYTExNi00MzUzLTljZjItYmQ4MTFlMzgzNDIxfGI4YjMxZWUyLTdiYWUtNGRiNC1hZjQ1LWM2YmNhNjdiOTg5Nnww";
decodeBase64(encodedString);

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.