Getting Started with Sticky.ID

Sticky.ID is free and open to all supply partners.

The Sticky.ID service is a simple way for developers to request persistent id's on behalf of a user. Requests must be made client-side from the user's browser. There are a few ways to request the ID depending on which method suits your use case.

Making a request

Retrieving the Sticky.ID is as simple as requesting https://stickyid-a.akamaihd.net/id

The result is a JSON object that contains the Sticky.ID payload which will look something like this:

{"id":"f625e67d9285ac05a110301e4f0a6af7a02ab92f7","ts":1555961788,"cs":1}

Key

Meaning

id

This is the user's Sticky.ID, which will be consistent across multiple integrations

ts

The unix timestamp of when the user was first seen by the Sticky.ID service

cs

If the user's browser supports cookies, the value will be 1, otherwise 0

Programmatically requesting the ID

  • Use XMLHttpRequest (XHR) if you don't want to insert our script into the DOM. We support CORS, so this should work in most modern browsers.

  • If XHR is not an option, we also support JSON-P callbacks. Simply insert into the DOM and include a callback function name.

  • If you are running a Service Worker, we also support making fetch requests to our service, which are required within the context of a service worker.