Skip to content

Enhanced User Identification

The iPixel sets the first-party cookie iDSP_Cookie to identify users. To enhance user identification, implement the following on your backend:

Whenever you see the cookie iDSP_Cookie in an HTTP request, set the HTTP response to include a header that creates a new first-party HTTP cookie _iDSP_Cookie (with underscore prefix) with a one-year expiration.

Requirements: - Cookie value: Same as the iDSP_Cookie value from the request - Domain: Your site prefixed with a period (e.g., .mysite.com, not including "www") - Path: / - Do not set the cookie as HttpOnly

Example Response Header:

Set-Cookie: _iDSP_Cookie=xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx; Expires=<<One Year from Today>>; Domain=.mysite.com; Path=/; SameSite=Lax;