How to Track Button Clicks on Your Squarespace Website Using Google Analytics 4 (GA4)

This walkthrough zooms into Method 3: button clicks among the workable Squarespace lead stacks. Compare it with thank-you URLs and native GTM form submits in our hub guide Squarespace Google Ads Conversion Tracking: 3 Methods That Actually Work.

I was recently setting up a new Google Ad campaign for a client and optimizing an old campaign they had running for several months.

Upon reviewing their websites and existing campaigns I noticed they weren't tracking all of their conversions. They had a 'Schedule Now' button that sent visitors to a SimplyBook scheduling app, which was hosted on a separate domain.

Unfortunately, SimplyBook doesn't allow you to redirect the visitors to a URL of your choice after they finish scheduling AND they don't integrate with Google Analytics. This means we couldn't track scheduled appointments as a conversion.

So what's the next best solution without requiring the client to change scheduling apps? Track clicks on the 'Schedule Now' button as a conversion in the Google Ad campaign.

Traditionally I handled this using Universal Google Analytic Events and adding a custom attribute to the HTML button element to track clicks on that button as a Google Analytics Goal. Squarespace doesn't allow you to add custom attributes to HTML elements, however.

That's when I decided to dive into the world of Google Tag Manager (GTM). Until recently I had avoided GTM simply because I hadn't used it much. I didn't see any reason to use it since I typically keep the number of scripts on my website to a minimum and manually inserting a few scripts was easy.

Well here was a reason to use it. With Google Tag Manager it's a lot easier to track clicks on any HTML element. Since this was a new Google Analytics account I also decided to set it all up with Google Analytics 4 (GA4) since that is now the default with new Google Analytics accounts.

Click Here to see how to set it all up in 4 easy steps!

Free course on exactly this

The Unequal Lead. Make Google optimize for leads that actually close.

Five modules. Free with account. Walk away knowing how to fix the signal Google is being graded on.

Start the course