Integrations

  1. Home
  2. Docs
  3. Integrations
  4. Squarespace Integration
  5. Ecommerce Tracking for Squarespace

Ecommerce Tracking for Squarespace

Tracking your transactions in WhatConverts from your Squarespace Store is a quick and easy addition to get the most from your WhatConverts account and your marketing. After adding your WhatConverts Tracking Code, you can start tracking your transactions in a few clicks.

Add Transaction Tracking Code to Squarespace

Squarespace order confirmation page ecommerce tracking
1Log into Squarespace and open your page editor. On the left-hand menu, select “Settings“. Click “Advanced” then “Code Injection“. In the Order Confirmation Page box, paste the following:

<script type="text/javascript">
//<![CDATA[
wc_transaction_ypbib
(
'{orderId}',
'{orderSubtotal}',
  {
 'Email Address': '{customerEmailAddress}'
}
);
//]]>
</script>

Click “Save“.