IntegrationsAnalyticsMicrosoft Clarity

Microsoft Clarity

Server-side custom event delivery to Microsoft Clarity via the Clarity Data Export API. Complements Clarity’s session replay and heatmap features with server-side event context.

⚠️

Status: alpha. The Microsoft Clarity integration is catalogued but ships without a pre-built preset. Verify that Clarity Data Export API access is available on your Clarity plan tier before configuring in production.

Prerequisites

  • A Microsoft Clarity project. Free tier is fine for basic analytics but Data Export API access may require a paid tier — confirm with your Clarity account representative.
  • The Project ID of the Clarity project. Find it in the Clarity dashboard under Settings > Setup > Install tracking code.
  • A Data Export API token. Generate under Settings > Data Export in the Clarity dashboard.

Configuration fields

FieldRequiredNotes
project_idYesClarity project ID.
api_tokenYesData Export API token (kept secret).

Next steps

  • Clarity is primarily a session-replay and heatmap tool; server-side events are used to enrich sessions with context Clarity cannot observe directly (e.g. post-transaction revenue).
  • For server-side delivery of the full event stream, prefer a dedicated analytics destination like Amplitude, Mixpanel, or Matomo.