Setting up a Custom HTML destination
<body>
tag of your page.
<script>
tag. Otherwise, the content will be rendered as normal text content rather than executed.Install PostHog
Install Hotjar
Viewed Product
Placed Order
{{ variable_name }}
.
For each occurrence of an event linked to a Custom HTML script, Converge will resolve all the referenced variables, replace the variables in the template and finally inject the resulting content.
The available variables depend on the selected Event type. For the native events, the list of available properties and their types can be found in the Event Spec. For custom events, all properties sent in the events are available for usage automatically.
As an example, for the Place Order event, the following variables are available (among others):
Property | Type | Template | Injected |
---|---|---|---|
id | string | {{ id }} | "123" |
total_price | float | {{ total_price }} | 123 |
items | array | {{ items }} | [{"product_id": ...}, ...] |
$is_new_customer | boolean | {{ $is_new_customer }} | true |
Converge Feature | Supported |
---|---|
Custom Events | |
Filters | |
Server-side Conversions |