Back to all cookies

Segment cookies

Segment sets 2 cookies on websites that load its scripts. Below is the full list with purpose, expiry, and whether each one needs GDPR / ePrivacy consent.

Source: Twilio Inc. (Segment)Official cookie reference
ajs_anonymous_idAnalyticsExpires: 1 year

Segment-generated anonymous visitor identifier. Used to attribute events from non-logged-in users to a stable ID across sessions before they identify.

ajs_user_idAnalyticsExpires: 1 year

Segment user identifier set after a visitor calls analytics.identify(). Used to forward identified events to downstream tools (Mixpanel, Amplitude, etc.).

Catch unconsented Segment cookies

CookieSentry scans your site, identifies every Segment cookie set before consent, and gives you an evidence-grade PDF for your DPO.

Run a free scan →