Hello again
Klaviyo is now initialised correctly. But another issue has surfaced.
Task
On the following product page the Klaviyo tracking for the 'Add to Cart' event has been implemented following the instruction in the documentation.
Instructions for both of the mentioned options i.e. tracking for both buttons with and without redirects have been implemented.
What are the differences between these 2 options? Is the same data tracked in each scenario?
Review the tracking on the mentioned product page and investigate why the tracking for buttons with redirects isn't working. Can you fix this using local overwrites?
How to approach this
- View the source code of the page. Can you find the appropriate tracking code? Have the instructions been followed correctly? What ID and classes are associated with the Add to Cart button?
- Open the Developer Tools and go to the Sources Panel. Locate the HTML file representing the page and save this for overwrites. Make changes to the Klaviyo JavaScript tracking code to fix the issue. You can find further instruction on this functionality on Confluence
Example 1 Example 3