Skip to content
DefinitionA/B testing

Datalayer

A data structure used to transmit information between a website and a tag management tool.

JavaScript structure that allows data (page, user, behavior…) to be transmitted to marketing tools like AB Tasty or Dynamic Yield to target tests or personalized experiences.

  • 👉 In AB Tasty, dataLayer variables can be used directly in the targeting interface, without additional code. For example, you can target a "product" type page or a CRM segment like "VIP" by simply selecting the variable in the rules engine.
  • 👉 In Dynamic Yield, this is typically done through custom evaluators: small JavaScript scripts that allow you to extract or interpret the value from the dataLayer (or other sources) to build a more flexible targeting rule. Example: reading a userTier variable to target only "gold" users.

Move from definition to practice in A/B testing

From hypothesis to statistical analysis, we design and run your A/B tests end to end. Let's talk for 30 minutes about your challenges.