---
updatedAt: 2026-07-29T16:31:27.000Z
agentTools:
  siteIndex: https://documentation.bloomreach.com/llms.txt
  projectIndex: https://documentation.bloomreach.com/clarity/llms.txt
---

# A/B test events

A/B test events are the primary data points used to track and analyze the effectiveness of different variants. Use them to evaluate Conversational agent's [overall performance](https://documentation.bloomreach.com/clarity/docs/clarity-performance-evaluation). Each event also carries the [default event attributes](https://documentation.bloomreach.com/clarity/docs/clarity-event-tracking#default-event-attributes).

## actual\_show

Tracked when a trigger element is actually visible on the shopper's screen.

Stricter than the `show `event. While `show` can fire on scroll activity, `actual_show` requires the element to be physically visible within the shopper's current screen (viewport).

**Attributes**

<table>
  <tr>
   <td><strong>Attribute</strong>
   </td>
   <td><strong>Description</strong>
   </td>
   <td><strong>Values</strong>
   </td>
  </tr>
  <tr>
   <td><code>action</code>
   </td>
   <td>Event action type.
   </td>
   <td><code>actual_show</code>
   </td>
  </tr>
  <tr>
   <td><code>component</code>
   </td>
   <td>Trigger surface type.
   </td>
   <td>Same as <code>show</code>
   </td>
  </tr>
  <tr>
   <td><code>component_template</code>
   </td>
   <td>Template version.
   </td>
   <td>Same as <code>show</code>
   </td>
  </tr>
  <tr>
   <td><code>trigger_context_product_ids</code>
   </td>
   <td>Product IDs extracted from the page by the trigger.
   </td>
   <td>Array of product IDs
   </td>
  </tr>
  <tr>
   <td><code>trigger_conversation_starters_list</code>
   </td>
   <td>Conversation starter texts shown in the trigger.
   </td>
   <td>Array of strings
   </td>
  </tr>
  <tr>
   <td><code>trigger_conversation_starters_is_generated</code>
   </td>
   <td>Whether the conversation starters were AI-generated.
   </td>
   <td><code>true</code>, <code>false</code>
   </td>
  </tr>
</table>

<br />

## bundle\_show

Tracked when the Conversational agent interface has finished rendering for the shopper.

**Attributes**

<table>
  <tr>
   <td><strong>Attribute</strong>
   </td>
   <td><strong>Description</strong>
   </td>
   <td><strong>Values</strong>
   </td>
  </tr>
  <tr>
   <td><code>action</code>
   </td>
   <td>Event action type.
   </td>
   <td><code>bundle_show</code>
   </td>
  </tr>
  <tr>
   <td><code>type</code>
   </td>
   <td>Sub-type.
   </td>
   <td><code>bundle_show</code>
   </td>
  </tr>
  <tr>
   <td><code>component_template</code>
   </td>
   <td>Template version of the use case.
   </td>
   <td>Example: <code>PDP_EMBEDDED_v2</code>, <code>FLOATING_TRIGGER_v2</code>
   </td>
  </tr>
</table>

<br />

## session\_start

Tracked once per browsing session, at the start of the session. The conditions and timestamp match the system event `session_start`. This event always carries the global A/B variant information and is the canonical event for evaluating Conversational agent's [overall performance](https://documentation.bloomreach.com/clarity/docs/clarity-analytics#global-ab-results-session-level).

In addition to the default attributes, `session_start` always carries `experiment_id`, `experiment_source`, `global_rank`, `throttle_rank`, `global_variant_id`, and `global_variant_name`.

**Attributes**

<table>
  <tr>
   <td><strong>Attribute</strong>
   </td>
   <td><strong>Description</strong>
   </td>
   <td><strong>Values</strong>
   </td>
  </tr>
  <tr>
   <td><code>action</code>
   </td>
   <td>Event action type.
   </td>
   <td><code>session_start</code>
   </td>
  </tr>
  <tr>
   <td><code>session_start_timestamp</code>
   </td>
   <td>Session start timestamp.
   </td>
   <td>Example: <code>1759516868154</code>
   </td>
  </tr>
</table>

<br />

## show

Tracked when a Conversational agent element becomes visible.

**Attributes**

<table>
  <tr>
   <td><strong>Attribute</strong>
   </td>
   <td><strong>Description</strong>
   </td>
   <td><strong>Values</strong>
   </td>
  </tr>
  <tr>
   <td><code>action</code>
   </td>
   <td>Event action type.
   </td>
   <td><code>show</code>
   </td>
  </tr>
  <tr>
   <td><code>component</code>
   </td>
   <td>Surface type. The <code>component</code> attribute distinguishes between a trigger appearing, the chat widget appearing, the feedback survey appearing, and control-group impressions.
   </td>
   <td><code>PDP_EMBEDDED</code>, <code>PLP_EMBEDDED</code>, <code>PLP_BANNER</code>, <code>SEARCH_SUGGESTION</code>, <code>FLOATING_TRIGGER</code>, <code>CHAT</code>, <code>FEEDBACK_SURVEY</code>
<p>

[See description](https://documentation.bloomreach.com/clarity/docs/ab-test-events#component-values).

   </td>
  </tr>
  <tr>
   <td><code>component_template</code>
   </td>
   <td>Template version used for the element.
   </td>
   <td><code>PDP_EMBEDDED_v1</code>, <code>PLP_EMBEDDED_v1</code>, <code>PLP_BANNER_v1</code>, <code>SEARCH_SUGGESTION_v1</code>, <code>FLOATING_TRIGGER_v1</code>, <code>CHAT_v1</code>, <code>FEEDBACK_SURVEY_v2</code>
   </td>
  </tr>
  <tr>
   <td><code>chat_widget_state</code>
   </td>
   <td>Identifies the current visibility mode of the interface. 
<p>

Logged only when <code>component=CHAT</code>.

   </td>
   <td><code>minimized</code> (no bubble), <code>bubble</code> (minimized with initial-message bubble), <code>open</code>
   </td>
  </tr>
  <tr>
   <td><code>chat_widget_size</code>
   </td>
   <td>Identifies the chat widget size.
<p>

Logged only when <code>component=CHAT</code> and <code>chat\_widget\_state=open</code>.

   </td>
   <td><code>large</code>, <code>small</code>, <code>half_screen</code>, <code>full_screen</code>
   </td>
  </tr>
  <tr>
   <td><code>conversation_state</code>
   </td>
   <td>Tracks the specific state of the conversation.
<p>

Logged only when <code>component=CHAT</code>.

   </td>
   <td><code>initial_message</code>, <code>welcome_message</code>, <code>home_screen</code>, <code>conversation</code>, <code>idle</code>
   </td>
  </tr>
  <tr>
   <td><code>chat_config</code>
   </td>
   <td>Webchat configuration. Logged only when <code>component=CHAT</code>.
   </td>
   <td>JSON string
   </td>
  </tr>
  <tr>
   <td><code>most_recently_clicked_trigger</code>
   </td>
   <td>Banner name of the most recently clicked trigger. Logged only when <code>component=CHAT</code>.
   </td>
   <td>Example: <code>Clarity-PLP-Embedded</code>
   </td>
  </tr>
  <tr>
   <td><code>chat_opened_from_trigger</code>
   </td>
   <td>Banner name of the trigger that opened the chat. Logged only when <code>component=CHAT</code> and the chat opened from a trigger click.
   </td>
   <td>Banner name string
   </td>
  </tr>
  <tr>
   <td><code>trigger_conversation_starters_list</code>
   </td>
   <td>Conversation starter texts shown in the trigger. Logged only for trigger components.
   </td>
   <td>Array of strings
   </td>
  </tr>
  <tr>
   <td><code>trigger_conversation_starters_is_generated</code>
   </td>
   <td>Whether the conversation starters were AI-generated. Logged for PDP-embedded components.
   </td>
   <td><code>true</code>, <code>false</code>
   </td>
  </tr>
  <tr>
   <td><code>trigger_context_product_ids</code>
   </td>
   <td>Product IDs extracted from the page by the trigger.
   </td>
   <td>Array of product IDs
   </td>
  </tr>
  <tr>
   <td><code>initial_message</code>
   </td>
   <td>Initial message text. Logged only when <code>chat_widget_state=bubble</code>.
   </td>
   <td>Message text
   </td>
  </tr>
  <tr>
   <td><code>initial_message_quick_replies</code>
   </td>
   <td>Quick replies shown with the initial message. Logged only when <code>chat_widget_state=bubble</code>.
   </td>
   <td>Array of strings
   </td>
  </tr>
  <tr>
   <td><code>initial_message_product_ids</code>
   </td>
   <td>Product IDs associated with the initial message. Logged only when <code>chat_widget_state=bubble</code>.
   </td>
   <td>Array of product IDs
   </td>
  </tr>
</table>

### component values

<table>
  <tr>
   <td><strong>component value</strong>
   </td>
   <td><strong>Description</strong>
   </td>
  </tr>
  <tr>
   <td><code>PDP_EMBEDDED</code>
   </td>
   <td>The trigger is embedded directly within a product detail page.
   </td>
  </tr>
  <tr>
   <td><code>PLP_EMBEDDED</code>
   </td>
   <td>The trigger is embedded within a product listing page.
   </td>
  </tr>
  <tr>
   <td><code>PLP_BANNER</code>
   </td>
   <td>The trigger appears as a banner on a product listing page.
   </td>
  </tr>
  <tr>
   <td><code>SEARCH_SUGGESTION</code>
   </td>
   <td>The trigger appears within the search suggestions or autocomplete results.
   </td>
  </tr>
  <tr>
   <td><code>FLOATING_TRIGGER</code>
   </td>
   <td>The trigger appears as a floating button that follows the shopper as they scroll.
   </td>
  </tr>
  <tr>
   <td><code>CHAT</code>
   </td>
   <td>The Conversational agent chat window appears.
   </td>
  </tr>
  <tr>
   <td><code>FEEDBACK_SURVEY</code>
   </td>
   <td>The feedback survey appears after the Conversational agent experience.
   </td>
  </tr>
</table>

<br />

## use\_case\_session\_start

Tracked once per `banner_id` per session, the first time a shopper eligible for that <Anchor target="_blank" href="https://documentation.bloomreach.com/clarity/docs/clarity-use-cases">use case</Anchor> loads a page. Carries the same `session_start_timestamp` as the matching `session_start` event. Use it to count sessions in which a specific use case was eligible to render.

**Attributes**

<table>
  <tr>
   <td><strong>Attribute</strong>
   </td>
   <td><strong>Description</strong>
   </td>
   <td><strong>Values</strong>
   </td>
  </tr>
  <tr>
   <td><code>action</code>
   </td>
   <td>Event action type.
   </td>
   <td><code>use_case_session_start</code>
   </td>
  </tr>
  <tr>
   <td><code>session_start_timestamp</code>
   </td>
   <td>Session start timestamp.
   </td>
   <td>Example: <code>1759516868154</code>
   </td>
  </tr>
</table>

<Callout icon="📘" theme="info">
  ### **Note**

  When multiple use cases are active on the same page, `banner_id`, `banner_name`, and `banner_type` reflect the most recently initialized trigger.
</Callout>

<br />