# \#ab-test

**URL:** https://forum.builder.io/tag/ab-test/42.md

[Latest](https://forum.builder.io/latest.md) · [Categories](https://forum.builder.io/categories.md) · [Tags](https://forum.builder.io/tags.md)

---

## [A/B testing identifiers](https://forum.builder.io/t/a-b-testing-identifiers/3218)

<div class="topic-metadata">

**Author:** [@yuval222](https://forum.builder.io/u/yuval222)\
**Replies:** 7\
**Last updated:** [June 30, 2025, 7:59am UTC](https://forum.builder.io/t/a-b-testing-identifiers/3218 "2025-06-30T07:59:46Z")

</div>

I am conducting an A/B test experiment and I need to identify which variation is currently being used. How can I do this from within my codebase?

---

## [A/B testing published content](https://forum.builder.io/t/a-b-testing-published-content/13459)

<div class="topic-metadata">

**Author:** [@hfrid](https://forum.builder.io/u/hfrid)\
**Replies:** 1\
**Last updated:** [March 19, 2025, 10:13am UTC](https://forum.builder.io/t/a-b-testing-published-content/13459 "2025-03-19T10:13:18Z")

</div>

When trying to create an A/B test for already published content you are instructed to duplicate the content first. With the duplicated content you can create an A/B test but what happens if you publish duplicated content…

---

## [Understanding Builder Cookies - Duration and Expiration](https://forum.builder.io/t/understanding-builder-cookies-duration-and-expiration/6762)

<div class="topic-metadata">

**Author:** [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Replies:** 4\
**Last updated:** [March 11, 2025, 8:22pm UTC](https://forum.builder.io/t/understanding-builder-cookies-duration-and-expiration/6762 "2025-03-11T20:22:21Z")

</div>

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…

---

## [Generating Unique URLs for Builder.io A/B Test Variations](https://forum.builder.io/t/generating-unique-urls-for-builder-io-a-b-test-variations/13047)

<div class="topic-metadata">

**Author:** [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Replies:** 0\
**Last updated:** [February 24, 2025, 4:25pm UTC](https://forum.builder.io/t/generating-unique-urls-for-builder-io-a-b-test-variations/13047 "2025-02-24T16:25:11Z")

</div>

By default, Builder.io does not generate unique URLs for different A/B test variations. Instead, it uses cookies and localStorage to track and serve different variations for content analytics and testing. However, if you…

---

## [AB test cookies expiration and selecting a winner](https://forum.builder.io/t/ab-test-cookies-expiration-and-selecting-a-winner/12599)

<div class="topic-metadata">

**Author:** [@muhammadjunaid](https://forum.builder.io/u/muhammadjunaid)\
**Replies:** 1\
**Last updated:** [February 19, 2025, 3:47pm UTC](https://forum.builder.io/t/ab-test-cookies-expiration-and-selecting-a-winner/12599 "2025-02-19T15:47:04Z")

</div>

I’m trying to A/B test a component on nextjs but the problem I’m facing is that the expiration time of cookies are too long and there seem to be no way to purge them for all users. I want to do progressive roll-out mean…

---

## [A/B testing with custom components](https://forum.builder.io/t/a-b-testing-with-custom-components/7822)

<div class="topic-metadata">

**Author:** [@kcapattack](https://forum.builder.io/u/kcapattack)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 6:48am UTC](https://forum.builder.io/t/a-b-testing-with-custom-components/7822 "2025-01-30T06:48:10Z")

</div>

I’m having an issue with Builder’s A/B testing feature. After creating multiple variants of a page, changes made to components on one variant are applied to ALL variants. When trying to get around this, I noticed that i…

---

## [AB Test variation is loading assets (videos/images) from default](https://forum.builder.io/t/ab-test-variation-is-loading-assets-videos-images-from-default/6559)

<div class="topic-metadata">

**Author:** [@danAtWork](https://forum.builder.io/u/danAtWork)\
**Replies:** 1\
**Last updated:** [October 9, 2024, 7:52am UTC](https://forum.builder.io/t/ab-test-variation-is-loading-assets-videos-images-from-default/6559 "2024-10-09T07:52:37Z")

</div>

Hi, we’re currently testing a redesign on our homepage wtih ab tests. Both the default (older design) and variation (new design) have a bunch of videos as part of the design. When I noticed that the page was much slower …

---

## [Personalization with Builder - Utils and new SDK 2.2.2](https://forum.builder.io/t/personalization-with-builder-utils-and-new-sdk-2-2-2/5077)

<div class="topic-metadata">

**Author:** [@LucasMatuszewski](https://forum.builder.io/u/LucasMatuszewski)\
**Replies:** 3\
**Last updated:** [May 2, 2024, 1:56pm UTC](https://forum.builder.io/t/personalization-with-builder-utils-and-new-sdk-2-2-2/5077 "2024-05-02T13:56:30Z")

</div>

Hey Is @builder.io/personalization-utils still supported and recommended way for Personalization with Next.js Middleware? It used to work fine in 2022 (SDK 1, React SDK 2) when I was first testing it on Google Cloud Ru…

---

## [How should I use builder.tests with Next SSR for A/B testing?](https://forum.builder.io/t/how-should-i-use-builder-tests-with-next-ssr-for-a-b-testing/4561)

<div class="topic-metadata">

**Author:** [@khomenok](https://forum.builder.io/u/khomenok)\
**Replies:** 1\
**Last updated:** [December 4, 2023, 2:03pm UTC](https://forum.builder.io/t/how-should-i-use-builder-tests-with-next-ssr-for-a-b-testing/4561 "2023-12-04T14:03:53Z")

</div>

Hey! I’m trying to set up A/B testing with Builder and NextJS. In the examples I could find, only personalization is used. As I understood from the code, builder.tests.\<contentId\> cookies should be used for A/B renderi…

---

## [Some users still seeing 'loser' version of A/B test](https://forum.builder.io/t/some-users-still-seeing-loser-version-of-a-b-test/3105)

<div class="topic-metadata">

**Author:** [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Replies:** 0\
**Last updated:** [January 18, 2023, 1:58pm UTC](https://forum.builder.io/t/some-users-still-seeing-loser-version-of-a-b-test/3105 "2023-01-18T13:58:41Z")

</div>

What might be happening here is that you and some of your users originally saw the “loser” version so they now have a cookie that puts them in that group, so you or some users will continue to see the “loser” version. I…
