Jump to content

Track Squarespace Forms In Google Analytics

Recommended Posts

Site URL: https://www.vitahealthcoach.com/contact

Does anyone know how to track Squarespace forms in Google Analytics? I have tried following this method that I found on the following article: https://hammajack.com.au/get-digital/a-super-simple-way-to-track-squarespace-forms-in-google-analytics

So I have pasted the snippet of code into the 'Advanced' settings of the form editor. I can see the code on the contact page when I load it up in an incognito window. However when I complete a form no event triggers or shows up in my Google Analytics account.

Has anyone else tried this method? Or may have a better way to track form completions in Google Analytics?

Thanks in advance!

Link to comment
  • Replies 2
  • Views 1.5k
  • Created
  • Last Reply

I haven't tried that method...I'll have to look into that a bit more. I use Google Tag Manager to log all sorts of events in Google Analytics. I typically use it to track page views, form completions, page scrolling, individual link clicks, etc. Its a bit of work to set-up but once you do, the possibilities are endless.

This YouTube channel has a lot of good helpful info: https://www.youtube.com/watch?v=tmNPJw-YLuQ

If you do use GTM to track your regular page views in GA, be sure to remove the GA code you entered into the SQSP admin or else it will fire twice and double-up your data.

Hope that helps!

Link to comment
  • 6 months later...

Google Analytics is showing that it's tracking my page twice.
I have pasted the ID into the Advanced > External API section and have no other Google Analytics code in the 'Code Injection' area. Any ideas why it's tracking twice?

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.