Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Klaviyo integration


Question

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>

 

Link to comment
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...