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

# Contentsquare live signals

> Use Contentsquare Live Signals in Kameleoon to target visitors based on friction and fraud behaviors such as rage clicks, repeated scrolling, and JavaScript errors.

Signals are triggered by Contentsquare based on user interactions, like rage clicking, constant hovering, repeated scrolling and fraudulent activity.

To learn how to integrate Kameleoon with Contentsquare, you can read [our article on the subject](../../as-a-destination/analytics/contentsquare).

## Retrieve Contentsquare Live Signals in Kameleoon

In a nutshell, you will need to create and set up a Kameleoon custom data that Contentsquare will initialize when a live signal is triggered. Follow these steps to set up the custom data:

1. Name your custom data **ContentsquareLiveSignals**.
2. Choose the Acquisition method **Kameleoon Activation API**.
3. Choose the type **List of Strings**.
4. Choose the scope **Visit**.

<Frame>
  ![](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/integrations/as-a-source/analytics/contentsquare-live-signals/image-44-1920x995.png)
</Frame>

<Note>
  As Live Signals' names can be changed by the end user in Contentsquare, if you want to use Live Signals in our Segment Builder, you must add a custom script in the **Save the values for the targeting condition associated with the custom data point** option of the custom data pop-in (last step).
</Note>

```javascript theme={null}
return [
{value:'js_error_signal', label:'js_error_signal'}, 
{value:'consecutive_click_signal', label:'consecutive_click_signal'}, 
{value:'rage_click_signal', label:'rage_click_signal'}, 
{value:'repetitive_hovering_signal', label:'repetitive_hovering_signal'},
{value:'repeated_scrolling_signal', label:'repeated_scrolling_signal'},
{value:'mouse_shakes_signal', label:'mouse_shakes_signal'},
{value:'excessive_pastes_fraud_signal', label:'repetitive_hovering_signal'},
{value:'excessive_reloads_fraud_signal', label:'excessive_reloads_fraud_signal'} 
];
```

Update the script according to your live Signals' names. For instance, if you have named the default signal `js_error_signal`: "JavaScript errors", then the script above has to be updated to:

```javascript theme={null}
return [
{value:'JavaScript errors', label:'JavaScript errors'}, 
{value:'consecutive_click_signal', label:'consecutive_click_signal'}, 
{value:'rage_click_signal', label:'rage_click_signal'}, 
{value:'repetitive_hovering_signal', label:'repetitive_hovering_signal'},
{value:'repeated_scrolling_signal', label:'repeated_scrolling_signal'},
{value:'mouse_shakes_signal', label:'mouse_shakes_signal'},
{value:'excessive_pastes_fraud_signal', label:'repetitive_hovering_signal'},
{value:'excessive_reloads_fraud_signal', label:'excessive_reloads_fraud_signal'} 
];
```

Then you can target visitors when one or several Live Signal(s) have been triggered during their visit.

## Available Contentsquare Signals

Nine Signals are available by default.

### Friction Signals

* `js_error_signal`: Whenever a click causes a JS error within X seconds
* `consecutive_click_signal`: Clicking on the same element X times consecutively within Y seconds
* `rage_click_signal`: Clicking rapidly X times within Y milliseconds
* `repetitive_hovering_signal`: Hovering over the same element X times within Y seconds
* `repeated_scrolling_signal`: Scrolling to X% of the page and then back up to Y% of the page Z times
* `mouse_shakes_signal`: Accelerating the mouse left and right or up and down within X milliseconds

### Fraud Signals

* `excessive_pastes_fraud_signal`: Pasting in the same field and session X times with three thresholds: Low, Medium & High
* `excessive_reloads_fraud_signal`: Reloading in the same session X times with three thresholds: Low, Medium & High

### Ad Block Signal

* `adblocker_signal`: Whenever an ad blocker is detected within X seconds.

## Use Contentsquare Signals in Kameleoon

You can use Contentsquare Signals:

* as a [targeting condition](../../../assets/segments/create-a-segment) in our Segment Builder.
* as a [breakdown](../../../experiment-analytics/analyze-results/results-page-settings#breakdown-audience) in the Results page.

<Frame>
  ![](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/integrations/as-a-source/analytics/contentsquare-live-signals/image_35-1920x995.png)
</Frame>
