Capture Squarespace Sales in Facebook and Google Analytics

Frustrated trying to target your "best" audience when running Ads? 

Improve performance by capturing more detailed and complete analytics. Facebook's Custom Conversions and the default Google Tags work for targets like Page Views, but to capture more specific details, like unique form submissions or completed purchases, you'll need to add some custom code. 

A Common Request: Showing Completed Squarespace Purchases in Facebook and Google Analytics

You can customize the Squarespace Order Confirmation Page to pass along certain variables to Facebook and Google Analytics under Settings > Advanced > Code Injection

Squarespace Order Confirmation Variables

How Exactly Do You Track Completed Squarespace Purchases in Facebook and Google Analytics

In the code box below "Order Confirmation Page", you add Javascript to "push" the Purchase Data to Facebook and/or Google, like so:

Squarespace Order Variables "Pushed" to Facebook and Google

 
 

How Exactly Do You Track Form Submissions in Facebook and Google Analytics

For my own Squarespace Forms, I always send the customer to a standalone "Thank You" page once they submit the form. That requires Javascript, so I add the Facebook and Google code to that existing script in the "Post-Submit HTML" code box for the form, like so:

Push Form Submission to Facebook and Google

There are Many Ways to Customize Data Capture in Squarespace

Between Form Submissions and Funnel Page Traffic, there's lots of data you can capture with targeted pushing of data to Facebook and Google Analytics. 

Give Yourself the Best Chance to Succeed