Skip to main content
Skip table of contents

Data Integration

Via FunnelConnect

FunnelConnect supports two types of API integration:

  1. Fetching user data for inlining, etc.

  2. Sending user data.

1. is a synchronous call and 2. an asynchronous call.

The integration is fascilitated using an iPaaS solution with a flexible and extensive Automation Designer. See FunnelManager User Guide Data Integration.

Via Edge Server

Clients can use their edge server with Teavaro’s first party umdid cookie to fetch profile data.

This can be done using Teavaro’s API with umdid as lookup ID passed in query string parameter, see Parameters.

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.

We can remove the cookie path restriction, so that other first party domain calls can read it.

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);

See HTTPOnlyCookie.

JavaScript errors detected

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

If this problem persists, please contact our support.