Back to all cookies
AnalyticsConsent required

ajs_anonymous_id

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

Does your site set ajs_anonymous_id before consent?

Scan my website free
Expiry

1 year

Set by

Twilio Inc. (Segment)

GDPR & ePrivacy guidance

ajs_anonymous_id is a analytics cookie. Under Art. 5(3) ePrivacy Directive and the GDPR, it must not be set before the visitor has given prior, informed, freely-given consent.

If your scanner finds ajs_anonymous_id on a page before the visitor interacts with your consent banner, that's a violation — the cookie loaded without a legal basis.

Fix: gate the script that sets this cookie behind your CMP, so it only fires after the relevant consent category is accepted.

Related cookies

Is ajs_anonymous_id on your site?

Scan my website free