Skip to main content

Heap

Web Source code Package Beta

Heap (now part of Contentsquare) is a product analytics platform with auto-capture and retroactive event definitions. This destination loads the Heap snippet from Heap's CDN and forwards walkerOS events through heap.track(name, properties), plus identity, user properties, persistent event properties, and runtime consent.

Where this fits

Heap is a web destination in the walkerOS flow:

Installation

Loading...
Loading...

Configuration

This destination uses the standard destination config wrapper (consent, data, env, id, ...). For the shared fields see destination configuration. Package-specific fields live under config.settings and are listed below.

Settings

PropertyTypeDescriptionMore
appId*stringHeap App ID. Find it in your Heap project under Settings > App ID.
disableTextCapturebooleanDisable Heap auto text capture. Default: true.
disablePageviewAutocapturebooleanDisable Heap automatic pageview tracking. Default: true (walkerOS sources handle pageviews).
disableSessionReplaybooleanDisable Heap session replay.
secureCookiebooleanSSL-only cookies.
ingestServerstringCustom server endpoint for proxying Heap data.
identifyanyDestination-level identity mapping. Resolves to a string for heap.identify(). Example: { "key": "user.id" }.
userPropertiesanyDestination-level user properties mapping. Resolves to object for heap.addUserProperties(). Example: { "map": { "plan": "data.plan" } }.
* Required fields

Mapping

Per-event rules under config.mapping. For the standard rule fields (consent, condition, data, batch, name, policy) see mapping.

PropertyTypeDescriptionMore
identifyanyPer-event identity. Resolves to a string for heap.identify(). Example: { "key": "data.email" }.
resetanyReset Heap identity on this event. Set to true to call heap.resetIdentity().
userPropertiesanyPer-event user properties. Resolves to object for heap.addUserProperties().
eventPropertiesanyPer-event persistent event properties. Resolves to object for heap.addEventProperties() (persisted across page loads).
clearEventPropertiesanyClear all persistent event properties. Set to true to call heap.clearEventProperties().

Examples

consent grant start tracking

Event
Out

consent revoke stop tracking

Event
Out

default event forwarding

Event
Out

destination level identify

Event
Out

destination level include

Event
Mapping
Out

event with user properties

Event
Mapping
Out

global event properties

Event
Mapping
Out

user login identify

Event
Mapping
Out

user logout reset

Event
Mapping
Out

The destination wires walkerOS config.consent to Heap's runtime consent API. heap.startTracking() fires when all required consent keys are granted; heap.stopTracking() fires otherwise.

Loading...
💡 Need implementation support?
elbwalker offers hands-on support: setup review, measurement planning, destination mapping, and live troubleshooting. Book a 2-hour session (€399)