A/B testing identifiers

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?

Hi @yuval222,

Which variation is going to serve is decided on the client side but you can certainly configure your code to access it in the content object as shown below

 import { BuilderComponent } from '@builder.io/react'

 <BuilderComponent 
   model="page" 
   contentLoaded={(data, content) => {
   amplitude.track('builderImpression', {
      contentId: content.id,
      contentName: content.name,
      testVariationId: content.testVariationId,
      // Make sure to edit the variant name in Builder with a descriptive name
      testVariationName: content.testVariationName
     })
   }
 />

You can find more about this at Using Builder with Customer Data Platforms - Builder.io