Integrating with Squarespace

Note: If you are using Squarespace in combination with Moonclerk, please proceed as follows: follow a combination of steps 1, 2 and 3 of this Squarespace guide, though using the code reported in the Moonclerk guide. Next, follow steps 3 & 4 of the Moonclerk guide.

  1. In the Squarespace editor, select Settings -> Advanced -> Code Injection
  2. Add the following code to the Header code box.

    <script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
    <script type="text/javascript">
        (function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){
        (t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');
    
        tap('create', '((((YOUR ACCOUNT ID))))');
        tap('detect');
    </script>
    

    {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}

  3. On the same page find the ”Order Confirmation Page” box and paste in the following code:

    <script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
    <script type="text/javascript">
        (function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){
        (t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');
    
        tap('create', '((((YOUR ACCOUNT ID))))');
        tap('conversion', '{orderId}', {orderSubtotal});
    </script>
    

    {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}

  4. Hit save and you are all done!

Important

Please remember to test a conversion before starting your program. This way you can verify that tracking has been set up correctly. You can create a test conversion by following the steps described here.

Start a 14-day free trial with all our features enabled

Start now