Tracking Haravan website events
This guide provides a detailed walkthrough for tracking CDP events on your Haravan website
Last updated
This guide provides a detailed walkthrough for tracking CDP events on your Haravan website
Last updated
Now, it's time to place the script within your web app's code. Follow these steps for successful implementation:
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
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.
Check for events triggered on the homepage.