greeneyedmedia Posted August 3, 2021 Posted August 3, 2021 Hi, does anyone know how to integrate Squarespace with Klaviyo so that I can create an abandon cart trigger? this is the code noted on Klaviyo for abandoned cart: <script type="text/javascript"> _learnq.push(["track", "Added to Cart", { "$value": 29.98, "AddedItemProductName": "A Tale of Two Cities", "AddedItemProductID": "1112", "AddedItemSKU": "TALEOFTWO", "AddedItemCategories": ["Fiction", "Classics"], "AddedItemImageURL": http://www.example.com/path/to/product/image2.png, "AddedItemURL": http://www.example.com/path/to/product2, "AddedItemPrice": 19.99, "AddedItemQuantity": 1, "ItemNames": ["Winnie the Pooh", "A Tale of Two Cities"], "CheckoutURL": http://www.example.com/path/to/checkout, "Items": [{ "ProductID": "1111", "SKU": "WINNIEPOOH", "ProductName": "Winnie the Pooh", "Quantity": 1, "ItemPrice": 9.99, "RowTotal": 9.99, "ProductURL": http://www.example.com/path/to/product, "ImageURL": http://www.example.com/path/to/product/image.png, "ProductCategories": ["Fiction", "Children"] }, { "ProductID": "1112", "SKU": "TALEOFTWO", "ProductName": "A Tale of Two Cities", "Quantity": 1, "ItemPrice": 19.99, "RowTotal": 19.99, "ProductURL": http://www.example.com/path/to/product2, "ImageURL": http://www.example.com/path/to/product/image2.png, "ProductCategories": ["Fiction", "Classics"] } ] }]); </script>
Beyondspace Posted October 26, 2021 Posted October 26, 2021 On 8/4/2021 at 2:40 AM, greeneyedmedia said: Hi, does anyone know how to integrate Squarespace with Klaviyo so that I can create an abandon cart trigger? this is the code noted on Klaviyo for abandoned cart: <script type="text/javascript"> _learnq.push(["track", "Added to Cart", { "$value": 29.98, "AddedItemProductName": "A Tale of Two Cities", "AddedItemProductID": "1112", "AddedItemSKU": "TALEOFTWO", "AddedItemCategories": ["Fiction", "Classics"], "AddedItemImageURL": http://www.example.com/path/to/product/image2.png, "AddedItemURL": http://www.example.com/path/to/product2, "AddedItemPrice": 19.99, "AddedItemQuantity": 1, "ItemNames": ["Winnie the Pooh", "A Tale of Two Cities"], "CheckoutURL": http://www.example.com/path/to/checkout, "Items": [{ "ProductID": "1111", "SKU": "WINNIEPOOH", "ProductName": "Winnie the Pooh", "Quantity": 1, "ItemPrice": 9.99, "RowTotal": 9.99, "ProductURL": http://www.example.com/path/to/product, "ImageURL": http://www.example.com/path/to/product/image.png, "ProductCategories": ["Fiction", "Children"] }, { "ProductID": "1112", "SKU": "TALEOFTWO", "ProductName": "A Tale of Two Cities", "Quantity": 1, "ItemPrice": 19.99, "RowTotal": 19.99, "ProductURL": http://www.example.com/path/to/product2, "ImageURL": http://www.example.com/path/to/product/image2.png, "ProductCategories": ["Fiction", "Classics"] } ] }]); </script> The event you showed is 'Add to cart'? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Recommended Posts
Archived
This topic is now archived and is closed to further replies.