Jump to content

How to Track Contact Form submissions via either GA4 or GTM

Recommended Posts

Hello,

New to squarespace.

Trying to track Conversions for a Google Ads campaign.

I've set-up Google Analytics and Google Tag Manager; however, I don't see a way to properly inject GTM as it does not allow me to modify anything after the opening <body> tag.  (for the 2nd piece of GTM code)

Looking to track: tel: link clicks, mailto: link clicks, and contact form submissions. There is only one form on the website, used on two different pages.

Any advice about how to best approach this?

I'm used to GTM and debugging that way. GA4 is deployed on the website too.

Squarespace support is extremely unhelpful with almost anything. They wouldn't even tell me where the Code Injection lives.

Thank you for your time, help, and ideas!

Link to comment
  • 2 months later...
  • 6 months later...

In the video, he tracks the class="form-submission-text" that is stable in the post-submit pop-up. He's not using anything custom here. He's just monitoring the element visibility and reporting on it.

Edited by ron1cne
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.