/Docs

Contentsquare Integration

The Contentsquare integration sends experiment variation data to Contentsquare using dynamic variable tracking. This lets you segment Contentsquare experience analytics — heatmaps, zone-based analysis, session replays — by the A vs B experiment variation each visitor saw.

Setup

1

Go to Project Settings > Integrations

Open your project, click Settings, then click the Integrations tab.
2

Enable Contentsquare

Find the Contentsquare card and toggle it on.
3

Enter your Tag ID (optional)

Enter your Contentsquare Tag ID. If your site already has the Contentsquare tag installed (which sets window._uxa), you can leave this blank and A vs B will auto-detect the Contentsquare instance.
4

Save

Click Save. Experiment data will be sent to Contentsquare on the next enrollment.

What is sent to Contentsquare

When a visitor is enrolled in a variation, A vs B pushes a dynamic variable to Contentsquare:

javascript
1_uxa.push(['trackDynamicVariable', {
2 key: 'avsb_experiment',
3 value: 'Homepage Hero Test | Variation B'
4}]);

The value combines the experiment name and variation name separated by a pipe character. This makes it easy to identify both the experiment and the variation in a single Contentsquare dimension.

Additional properties are also pushed separately for more granular filtering:

javascript
1_uxa.push(['trackDynamicVariable', { key: 'avsb_experiment_name', value: 'Homepage Hero Test' }]);
2_uxa.push(['trackDynamicVariable', { key: 'avsb_variation_name', value: 'Variation B' }]);

Viewing in Contentsquare

After the integration is running, the dynamic variables appear in Contentsquare as segment filters. You can use them to:

  • Filter heatmaps — view click maps, scroll maps, and attention maps for only the visitors who saw a specific variation. Compare heatmaps side by side between variations.
  • Zone-based analysis — compare click rates and exposure rates for specific zones on your page by variation.
  • Session replays — filter the session list to watch recordings from visitors in a specific variation.
  • Journey analysis — compare the paths taken by visitors in different variations through your site.
Dynamic variables appear in Contentsquare within 24 hours
Dynamic variables sent via _uxa.push are available for segmentation in Contentsquare reports after a short processing delay — typically within 24 hours. Session replays are available sooner, often within a few hours.
Tip
Combining A vs B statistical results with Contentsquare heatmaps is particularly powerful. If your A vs B results show a variation won on the primary click metric, the Contentsquare heatmap can tell you whether visitors were clicking the element as intended or had discovered an unexpected interaction pattern.