csrf_session_id Cookie

Vendor tiktok
Type PREFERENCES
Expiration -1

What does the csrf_session_id cookie do?

CSRF (Cross-Site Request Forgery) protection is provided through a token-based approach. This session ID cookie is required for all users and helps to prevent attackers from making unintended requests on behalf of the user.

Why this cookie matters

This cookie is commonly used by tiktok for preferences purposes – such as tracking usage behaviour, optimising experience, or enabling marketing functionality.

Because it's categorised as preferences, many jurisdictions require that users give explicit consent before it can be activated. If blocked or denied by the visitor, preference-related features (like remembering language or layout choices) may not function properly.

How Cookifi helps you manage this cookie

Cookifi automatically detects cookies like csrf_session_id, categorises them, and gives you full control over when and how they load - based on your users' consent choices.

Whether you manage consent via Google Tag Manager, consent APIs (like the Shopify or WordPress Consent API), or prefer automatic cookie blocking or manual script control, Cookifi integrates seamlessly into your stack.

Built for technical marketers, business owners and developers, Cookifi offers flexibility without sacrificing compliance.