...
Info |
---|
Do not initialise the snippet on all pages, only on the pages which you want journey(s) on. |
In trigger configuration, make sure trigger type is set as Initialization and select ‘Some Initialization Events’. In the dropdowns select the following
Page URL
contains
Page URL that matches your order confirmation
Final setup should look simiar to this:
...
This custom GTM snippet contains code which allows you to place your widget under/within a specific html element too.
Replace
INSERT_CLASS_TARGET
orINSERT_ID_TARGET
with the class/id you'd like your widget to sit inside on your page. IMPORTANT: please only replace one of the target strings, never both.This will set the widget inside the first class or id which matches the name. If you would like the widget to sit under the target element instead, please change
targetElement.innerHTML
totargetElement.outerHTML
.
...