Event Classes on Squarespace
Use this article to understand what PixelFlow can track on Squarespace and how to track extra events without custom classes. Squarespace does not support the class-based setup used on some other platforms, so the recommended methods are automatic commerce tracking, Visual Tagger, and Event URLs.
Squarespace does not support class-based tracking in PixelFlow. If you need to track a button, form, or page outside the automatic commerce events, use Visual Tagger or Event URLs.
What PixelFlow tracks automatically
After you install PixelFlow with the Squarespace Setup guide, these events start tracking automatically on supported Squarespace commerce flows:
Event | When it fires |
|---|---|
| On every page load |
| When a visitor clicks Add to Cart |
| When a visitor starts checkout |
| When the order confirmation page loads |
| When the order confirmation page loads |
PixelFlow also blocks duplicate purchase events caused by order confirmation page reloads.
How to track extra events on Squarespace
Use Visual Tagger for buttons and forms
Visual Tagger is the best option when you want to track a button click, form submission, or other element on the page without editing code.
Open your site in the PixelFlow dashboard.
Click Track More Events.
Select Via Visual Tagger.
Choose the element or form you want to track.
Select the Meta event and save the trigger.
Visual Tagger can also capture extra data from forms and visible page content, such as name, email, phone number, product details, or a fixed value.
If you were looking for CSS class tracking, it is not available on Squarespace. Use Visual Tagger when the data is visible on the page, or use Event URLs for thank-you pages and confirmation URLs.
Use Event URLs for thank-you pages
Event URLs work well when Squarespace redirects someone to a confirmation page after a form submission. This is a simple option for lead forms, newsletter signups, and other flows that end on a unique success page.
When to use each method
Use automatic tracking for Squarespace store events.
Use Visual Tagger for buttons, forms, and other on-page elements.
Use Event URLs for thank-you pages and confirmation URLs.
Verify your setup
Test on your live Squarespace site, not preview mode.
Complete the action you want to track.
Check your PixelFlow Events Log.
Confirm the event appears in Meta Events Manager.
What's next
Install PixelFlow with Squarespace Setup.
Track buttons and forms with Event Tracking Using Visual Tagger (Beta).
Track thank-you pages with How to Track Events using Event URLs.
Confirm everything is working with How to Test and Verify Your PixelFlow CAPI Setup.