Event Tracking via Classes

Table of Content

Table of Content

Table of Content

Event Classes on Squarespace

How to label specific elements on your Squarespace website and assign events to them

For information on how to track events by assign a specific event to a particular URL, follow this guide.

To tag specific elements on your website that you'd like to track, follow the guide below.

How to Use Event Classes on Squarespace

This is handled automatically so no need to apply classes to elements. Simply add your PixelFlow code to your Squarespace header and you're all set.

Due to Squarespace's limitations, these are the only events that can be tracked automatically:

  1. PageView on any page load

  2. Initiate Checkout (InitiateCheckout) on Checkout button click

  3. Add Payment Info (AddPaymentInfo) event on purchase confirmation page load, e.g. https://www.yoursquarespacesite.com/commerce/orders/2e45bc6c-173e-4a1d-8b64-ea52127b4926

  4. Purchase event on purchase confirmation page load, e.g. https://www.yoursquarespacesite.com/commerce/orders/2e45bc6c-173e-4a1d-8b64-ea52127b4926

Note: PixelFlow automatically prevents sending duplicates on purchase confirmation page reload to avoid clicks being incorrectly counted.

PixelFlow

·

©

2025

All rights reserved

PixelFlow

·

©

2025

All rights reserved

PixelFlow

·

©

2025

All rights reserved