How to setup Pinterest event tracking with Squarespace
Last month I started running Pinterest ads and realized there wasn’t any documentation out there on tracking events (add to cart, leads, etc,) so I compiled a quick guide to get you started.
How to setup the Pixel
In your ad manager, you’ll find Squarespace setup instructions
You’ll get the base code which you will add to your page header injection. Advanced > Code Injection.
Looks like this:
How to track purchase conversions
To track purchase conversions copy the script below and paste it in Settings > Advanced > Code Injection - ORDER CONFIRMATION PAGE
How to track leads and registrations
Add this script to your thank you page or if you don't have a thank you page you can use this in your form post-submit html. The same applies for registrations or any other kind of “sign up” conversion that you want to track.
How to track add to carts
Here's the code you need to track Add to Cart and Initiate Checkout events.
Super useful to help rescue those abandoned carts.
Paste this in your site header and make sure Ajax loading is turned OFF in the style editor.
How to make sure it's working
1. Download the Pinterest Tag Helper extension for Chrome.