Tracking Haravan website events
This guide provides a detailed walkthrough for tracking CDP events on your Haravan website
Installation
Now, it's time to place the script within your web app's code. Follow these steps for successful implementation:
Step 1: Create the Script tracking into the Snippets folder
Follow the steps inside the image below to access the code editing interface:
Create a file named
cdp-tracking.liquid
in the Snippets folder.
Please contact us to obtain the script mentioned above.
Click Save to complete your file configuration
Step 2: Add main script CDP and include cdp-tracking script
Click here to see the steps for obtaining the main script.
Add the main script and include cdp-tracking to the
theme.liquid
file.
Find the
theme.liquid
file:
Add the main script after the <head> tag to the
theme.liquid
file.
Import the code snippet
{% include 'cdp-tracking' %}
after the 'End of CDP Web Insight script' tag, just after the closing</script>
Press the 'Save' button to complete the steps.
Ready, Track!
Check for events triggered on the homepage.
Last updated