Skip to main content
Contributor III
May 22, 2023
Solved

How To Track Form Submissions in Google Analytics 4

  • May 22, 2023
  • 15 replies
  • 2947 views

Hey there, can someone tell me how can I track form submissions in Google Analytics 4?

Is this something that I can achieve or not technically possible?

I’m familiarized with GA4 and Google Tag Manager, also configured GA4 in Shopify and have Klaviyo script running on all my pages, it’s working with UA but not in GA4...

Please help! 🙏🏽

This topic has been closed for replies.
Best answer by Brian Turcotte

Hi @lfernandez!

I’ll forward this feedback to our Product Team, and I’ll update the thread if anything changes regarding GA4!

 

Best,

Brian

15 replies

Brett_Gatsby
Problem Solver IV
Champion & Partner
May 22, 2023

Hi @lfernandez I’m getting familiar with GA4 myself right now but I believe the form submission is tracked automatically as an event called form_submit, and then in the properties of the event, you can see the parameters. What happens when you filter those, like by form_destination, in your account? Does that get you what you need to save a custom event for the Klaviyo form?

 

Granted, I’m still learning as well, so please let me know what you think.

 

Convert your Instagram followers into Klaviyo email & SMS subscribers. https://gatsby.ai/klaviyo-list-growth
Contributor III
May 22, 2023

I thought the same about form submissions tracked automatically but take a look at all the events I have on GA4 for that account:
 

 

I don’t know why it’s missing and when I configure that event with a custom event from Google Tag Manager it doesn’t either appear. It’s weird because I’ve configured other events like “internal_link_click” the same way but this is not working for me.

Let me know if something else I may be missing.

 

Thanks!

Brett_Gatsby
Problem Solver IV
Champion & Partner
May 23, 2023

@lfernandez Yea I did a little more digging and maybe this thread from a few months ago will help: 

 

Convert your Instagram followers into Klaviyo email & SMS subscribers. https://gatsby.ai/klaviyo-list-growth
Contributor III
May 23, 2023

@Brett from Gatsby Thanks Brett! I’ve already looked into that thread, but couldn’t find any solution to this, could you?

Brett_Gatsby
Problem Solver IV
Champion & Partner
May 23, 2023

Sorry unfortunately I haven’t either

Convert your Instagram followers into Klaviyo email & SMS subscribers. https://gatsby.ai/klaviyo-list-growth
Brian Turcotte
Klaviyo Alum
May 31, 2023

Hi @lfernandez!

Have you seen this Help Center article?

 

Although Google Analytics 4 ushered in some changes, this might be a good place to start and gather some context.

 

Best,

Brian

Contributor III
May 31, 2023

Hi @Brian Turcotte !

 

I’ve seen that article, it’s working for UA but still not getting information in GA4.

 

Thanks!

Brian Turcotte
Klaviyo Alum
June 6, 2023

Hi @lfernandez!

I’ll forward this feedback to our Product Team, and I’ll update the thread if anything changes regarding GA4!

 

Best,

Brian

Contributor III
June 20, 2023
  1. Set Up Google Analytics 4: Make sure you have a Google Analytics 4 property set up for your website. If you haven't set up GA4 yet, you can create a new property in your Google Analytics account and follow the instructions provided by Google.

  2. Install the Global Site Tag (gtag.js): Add the Google Analytics tracking code to your website's pages. This code, also known as the Global Site Tag (gtag.js), allows you to track various user interactions, including form submissions. Place the tracking code within the <head> section of your website's HTML code. Ensure that the code is added to all pages where you want to track form submissions.

  3. Add Event Tracking to Form Submission: Identify the form on your website that you want to track submissions for. Add an event tracking snippet to the form submission code. For example, you can use JavaScript to listen for the form submission event and trigger the tracking code. Here's an example of how to do this using JavaScript:

  4. Verify Tracking in Real-Time: After implementing the event tracking code, you can verify if the form submission events are being tracked correctly in real-time. Open your website and submit the form. Then, in your Google Analytics account, go to the Real-Time section, and navigate to Events to check if the form submission events are being recorded.

  5. Create Custom Reports and Goals (Optional): In Google Analytics 4, you can create custom reports and goals based on the form submission events to gain deeper insights into user behavior and conversions. Explore the Google Analytics interface to set up custom reports or goals that align with your tracking needs.

Hi zaliasber, 

That seams something generated from an AI, and also the link you placed looks spammy.

Thanks anyway.

Contributor III
July 11, 2023

Hi @Brian Turcotte !

Is there any news from the DEV team on this?

I’m seeing that this article is still talking about UA, which will no longer track data soon https://help.klaviyo.com/hc/en-us/articles/115005077027

Need help with this soon, please!

Thanks,

Lucas