For the complete documentation index, see llms.txt.

From the Contentsquare tag and Heap tag to CSQ Experience Platform

Last updated View as MarkdownSet up with agents

Migrate a website that installs the Contentsquare tag and the Heap tag separately to a single CSQ Experience Platform tag.

Not sure this guide applies? Identify your current tag setup.

Contentsquare sets up your Experience Platform project and supports you through the rest of the migration.

If your IT policy restricts the cookies stored in visitors' browsers, allow the following cookies.

NameDurationDescription
_cs_s_ctx30 minutesStores the session context data
_cs_i3 daysStores the encryption result of the user identity string
_cs_ep13 monthsStores the visit-level custom properties as a JSON object
_hjHasCachedUserAttributesSession lengthSpecifies whether the data in the _hjUserAttributes local storage item is up to date

See Cookies for the full list.

If your IT policy enforces a Content Security Policy (CSP), allow the following directives. Compare them with your existing policy.

Content-Security-Policy: script-src 'unsafe-inline' *.contentsquare.net app.contentsquare.com 'unsafe-eval' https://heapanalytics.com; img-src https://heapanalytics.com; connect-src *.contentsquare.net *.contentsquare.com https://heapanalytics.com; style-src app.contentsquare.com https://heapanalytics.com; font-src https://heapanalytics.com

See Content Security Policy for what each directive allows.

Contentsquare upgrades your project

Section titled Contentsquare upgrades your project

Contentsquare creates the Experience Platform project structure, upgrades your Contentsquare tag configuration, and confirms the tag URL for your project.

  1. Remove the Heap tag installation snippet from your website templates or tag management system.
  2. Make sure your Contentsquare tag installation uses the tag URL that Contentsquare provided. If it doesn't, update it with the method you prefer: using agents, a tag management system such as Google Tag Manager or Adobe Tags, or an HTML snippet. See Install the Contentsquare tag.

Use this checklist to make sure the migration worked.

Only the Contentsquare tag loads on all required pages: window.heap is not defined.

Data flows in your Product Analytics environment.

Data flows in your Experience Analytics project.

Data flows in your Experience Platform project ↗.