Crisp logo

Crisp

Attribution data for Crisp

Know where your chat visitors started.

Your website

Script installed

SourceTag

Captures attribution

JS API

Reads cookie data

Crisp

Data arrives tagged

The problem

Crisp shows you the conversation. It doesn't show you the marketing behind it.

How to set it up

Use SourceTag's JavaScript API to write attribution data into Crisp's session data.

1

Install SourceTag

Add the script tag to your site.

2

Push data into Crisp

Read the JS API and set session data with the channel and campaign.

3

Check the visitor profile

Open the profile in Crisp and confirm the fields are there.

Using the JavaScript API

Chat tools don't use traditional forms, so SourceTag takes a different approach here. Instead of hidden fields, you read attribution data from the JavaScript API and pass it into Crisp's contact properties.

const fc = window.__sourcetag?.getFC();
const lc = window.__sourcetag?.getLC();
// Returns: channel, source, campaign, term, ...

The API gives you the same data that hidden fields capture. See the full JS API reference →

Frequently asked questions

Related integrations

Start with one form.

The trial is 14 days and doesn't need a card.