---
title: CHEQ Analytics
description: "Enrich Amplitude with CHEQ traffic intelligence by sending bot, invalid traffic, and threat data as user properties."
product: data
token_estimate: 471
---
# CHEQ Analytics

> For AI agents: a documentation index is available at [/docs/llms.txt](/docs/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

[CHEQ Analytics](https://www.cheq.ai/) gives you visibility into the impact of bots and invalid traffic across digital initiatives. You can trust the integrity of your web analytics and protect testing and personalization efforts by sending CHEQ traffic intelligence into Amplitude as user properties.

## Set up the integration

### Amplitude setup

Install and initialize the [Amplitude Browser SDK](https://amplitude.com/docs/sdks/analytics/browser/browser-sdk-2) in your project if you haven't already. There are no other setup steps in Amplitude.

### CHEQ setup

1. Retrieve your CHEQ JavaScript tag in the CHEQ Platform under **Account Settings > Tags**, then deploy it on your website through your tag manager or by hard-coding it into the page. Load the tag as early as possible at the top of the page with the highest priority to avoid race conditions.
2. Go to the CHEQ Platform under **Analytics > Settings > Data Layer** to configure which CHEQ fields you want exposed, such as Threat Type, Threat Group, and AI Traffic Type. Choose how the response is delivered: JavaScript data layer, JavaScript variable, cookie, or local storage.
3. Set the CHEQ response values as Amplitude user properties. You can do this through your tag manager's Amplitude integration using the **Identify** or **Set User Properties** action, or directly through the Amplitude JavaScript SDK:

```js
amplitude.identify(
  new amplitude.Identify().set(
    "threat_type",
    window.localStorage.getItem("cq_threat_type")
  )
);
```

For additional details, refer to [CHEQ's Amplitude integration documentation](https://support.cheq.ai/hc/en-us/articles/49523248957713-Implementation-Guide-Analytics-Amplitude).

