Frequently Asked Questions

Squarespace Stores

How to Integrate for Squarespace Stores

To integrate Audenticity with Squarespace stores, you need to add two different codes: one for tracking referred visitors and for tracking purchases made by those referred visitors.

You can use Squarespace's code injection feature to install the Audenticity tracking scripts. Please note, code injection is a feature only available to customers with Business, Commerce, Professional, and Premium Squarespace plans.

Login into your Squarespace panel go to: Settings -> Advanced -> Code Injection

Tracking visits

Copy this code

<script defer type="text/javascript" src="https://app.audenticity.com/external/tracking/v1/squarespace.js?audenticity_code=AUD-########">
</script>

In the Header box, paste the above code.

Replace the ###### with your Unique Tracking ID.

By adding this code you are now tracking referred visitors to your site.

Tracking purchases


Copy this code

<script>
    var aud_order_id = '{orderId}';
    var aud_order_price = '{orderGrandTotal}';
    var aud_order_subtotal = '{orderSubtotal}';
    var aud_customer_email = '{customerEmailAddress}';
    var aud_script_url = "https://app.audenticity.com/external/tracking/v1/squarespace_thank_you.js?audenticity_code=AUD-########&order_id="+ encodeURIComponent( aud_order_id ) + "&total_price="+ aud_order_price + "&subtotal_price="+ aud_order_subtotal  +"&email=" + aud_customer_email;
    var aud_script = document.createElement("script");
    aud_script.type = "text/javascript";
    aud_script.src = aud_script_url;
    aud_script.defer = true;
    document.getElementsByTagName("head")[0].appendChild(aud_script);
</script>

Scroll down on the same Squarespace page (Settings -> Advanced -> Code Injection). Paste the above code into the Order Confirmation page box .

Replace the ###### with your Unique Tracking ID.


Copy this code

<script>
  {.if firstPageView}
    var aud_order_id = '{orderId}';
    var aud_order_price = '{orderGrandTotal}';
    var aud_order_subtotal = '{orderSubtotal}';
    var aud_customer_email = '{customerEmailAddress}';
    var aud_script_url = "https://app.audenticity.com/external/tracking/v1/squarespace_thank_you.js?audenticity_code=AUD-########&order_id="+ encodeURIComponent( aud_order_id ) + "&total_price="+ aud_order_price + "&subtotal_price="+ aud_order_subtotal  +"&email=" + aud_customer_email;
    var aud_script = document.createElement("script");
    aud_script.type = "text/javascript";
    aud_script.src = aud_script_url;
    aud_script.defer = true;
    document.getElementsByTagName("head")[0].appendChild(aud_script);
 {.end}
</script>

On the same Squarespace page (Settings -> Advanced -> Code Injection), paste the above code into the Order Status page box .

Replace the ###### with your Unique Tracking ID.

Still have questions? Email us at support@audenticity.com.