> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paysight.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Behavior Analytics

> Microsoft Clarity and Hotjar project IDs.

Behavior Analytics loads session behavior tools such as Microsoft Clarity and Hotjar on checkout.

<Info>
  Find this module in **Shopify Stores** > **Edit Checkout** > **Tracking**.
</Info>

## How it works

Use this module when the client wants session recordings, heatmaps, or behavior analytics from checkout.

## Settings reference

<AccordionGroup>
  <Accordion title="Session analytics tools">
    **You will set:** Tool list

    The behavior analytics providers enabled for checkout.
  </Accordion>

  <Accordion title="Microsoft Clarity">
    **You will set:** On/off switch and project ID

    Loads Microsoft Clarity using the client project ID.
  </Accordion>

  <Accordion title="Hotjar">
    **You will set:** On/off switch and site ID

    Loads Hotjar using the client site ID.
  </Accordion>
</AccordionGroup>

## Examples

<Tabs>
  <Tab title="Microsoft Clarity">
    Enable Microsoft Clarity and paste the project ID from the client workspace.
  </Tab>

  <Tab title="Hotjar">
    Enable Hotjar and enter the numeric site ID.
  </Tab>

  <Tab title="Both tools">
    Enable both only when the client has approved loading both scripts on checkout.
  </Tab>
</Tabs>

## Before saving

* Confirm the tools are allowed by the client privacy policy.
* Validate Hotjar IDs are numeric.
* Avoid adding the same scripts again through Checkout Code Blocks.

## Related modules

<CardGroup cols={2}>
  <Card title="Pixels" icon="arrow-right" href="/guides/shopify-store-editor/pixels">
    Manage conversion pixels, URL matching, default behavior, and event filters.
  </Card>

  <Card title="Attribution" icon="arrow-right" href="/guides/shopify-store-editor/attribution">
    Configure Hyros and WeTracked attribution scripts.
  </Card>

  <Card title="Checkout Code Blocks" icon="arrow-right" href="/guides/shopify-store-editor/code-blocks">
    Inject reviewed HTML, CSS, and JavaScript into supported checkout placements.
  </Card>
</CardGroup>
