Understanding Builder Cookies - Duration and Expiration

Below is a general overview of the key cookies used in Builder and how long they persist:

1. builderSessionId

  • Duration: 30 minutes
  • Details: This cookie expires 30 minutes after the last event is collected. It’s used to track user activity during a browsing session, and once the 30-minute window has passed without any user interaction, the cookie will expire.

2. builder.tests.[content-id]

  • Duration: 30 days
  • Details: This cookie tracks the variation a user is assigned to in an A/B test. It persists for 30 days, ensuring users see the same variation during that period, even if they return to the site.

3. builderVisitorId

  • Duration: Persistent (no expiration date)
  • Details: Unlike cookies, this value is stored in the browser’s localStorage, so it doesn’t have an expiration date. It will remain until it is manually deleted by the user or through code. This allows for persistent user identification across sessions.

4. builderio.variations.[variation-id]

  • Duration: Duration of the A/B test
  • Details: This cookie is used to ensure consistency for users participating in A/B tests. Its duration is tied to the length of the test itself, which can last anywhere from a few days to several weeks.

For more information on Builder cookies and how they relate to user privacy and data protection, you can check out the following resources:

If you have further questions or need more details, feel free to ask!

Best regards,