Currently migrating a Shopify store to a version 2.0 of the Turbo theme, I have followed the documentation for adding the liquid block for tracking the add to cart event. The issue is that at the last point (#6) says:
“6. In the left bar, your new Custom Liquid block for Added to Cart should automatically have been placed below the other sections on the page, including your Custom Liquid block for Klaviyo’s Viewed Product tracking. “
Any Ideas of why this is NOT happening?? Also, within the customizer, under Theme settings and App embeds, Klaviyo onsite JS appears active.
Should Mention that I don’t have access to the Klaviyo account. I am a developer tasked with this, currently about to add manually what’s supposed to happen automatically, the view product Snippet.
<script type="text/javascript">
var _learng = _learng || [];
var item = {
Name: {{ product.title|json }},
ProductID: {{ product.id|json }},
Categories: {{ Feet sect feecmell name see lag }},
ImageURL: "https:{{ product.featured_image.src|img_url: 'grande' }}",
URL: "{{ shop.secure_url }}{{ product.urt }}",
Brand: {{ product.vendor|json }},
Price: {{ product.price|money|json }},
CompareAtPrice: {{ product .compare_at_price_max|money|json }}
};
_learng.push(['track', 'Viewed Product', item]);
_learng.push(['trackViewedItem', {
Title: item.Name,
ItemId: item.ProductID,
Categories: item.Categories,
ImageUrl: item. ImageURL,
Url: item.URL,
Metadata: {
Brand: item.Brand,
Price: item.Price,
CompareAtPrice: item.CompareAtPrice
}
}
);
</script>
I will appreciate any kind of response!! Thanks in advance.