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.
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:
This is the user's Sticky.ID, which will be consistent across multiple integrations
The unix timestamp of when the user was first seen by the Sticky.ID service
If the user's browser supports cookies, the value will be
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
fetchrequests to our service, which are required within the context of a service worker.
Updated over 2 years ago