![]() |
Let Us Know: We do our best to keep our 3rd party installation instructions up to date and accurate, but sometimes platforms change their site layouts/functionality and our instructions become outdated. If you feel the instructions we provide for your platform are inaccurate, please let us know and we'll make sure to review! |
If you use Squarespace to host your online store, you'll need to correctly install the Lead Gen & CRM Ads site tracking tag before you can use Lead Gen & CRM Ads.
From your Dashboard, click Manage > User Tracking.
This will pull up a page with a javascript tag that looks like this:
Login to your Squarespace store. Click Settings > Developer Tools > Code Injection.
Locate the Footer box. Paste the site tracking tag in the Footer box.
Scroll to the top of the page and click Save.
Setup Your Conversion Goal
Back in the Code Injection page, locate the "Order Confirmation Page" box.
Paste the following code in the Order Confirmation Page box:
<script type="text/javascript">
window._pq = window._pq || [];
_pq.push(['track', 'PurchasedItem', {orderId: "{orderId}", revenue: ({orderSubtotal}])</script>
Optional - You can replace the orderSubtotal variable with one if the following alternate methods of calculating the order total:
- {orderSubtotal}: The subtotal of the confirmed order
- {orderSubtotalCents}: The subtotal of the confirmed order, in cents
- {orderGrandTotal}: The grand total of the confirmed order
- {orderGrandTotalCents}: The grand total of the confirmed order, in cents
Scroll to the top of the page and click Save. Back in Lead Gen & CRM Ads, click Manage > Create Conversion. Use the following settings:
Then save the conversion goal.
Once the tag is installed, it will take our system 6-8 hours to update and start displaying your audience data, so don't worry if you don't see any activity right away!
If you have any problems, email ads@constantcontact.com.