Tracking form submissions on your website with Google Analytics 4 (GA4) and Google Tag Manager (GTM).
There are two ways that you can track form submissions from your Webdadi Website. The first option is the most straight forward. Option two will give you access to more data should but requires a greater knowledge and understanding of Google Tag Manager (GTM).
Before proceeding please ensure:
You have setup a Google Tag Manager (GTM) account and have linked it to the Configuration section of your VIA software How to link your Google Tag Manager account to your Website
You have setup a Google Analytics 4 account (GA4) and have linked it to the configuration section of your VIA software How to add a Google Analytics tracking code to your website
Option 1 - How to use the form_submit event in Google Tag Manager (GTM)
On a successful form submission on your website, your site will trigger a form_submit event with the custom event parameter of Form_Context (case sensitive). This parameter gives some extra detail as to the type of form that was submitted to help differentiate between forms if you have multiple forms on a page for example.
The instructions below assume that you have set up a GA4 Google Analytics account and have added the data-stream measurement id to the Configuration section of VIA. This code will be in the form of G-********** or similar.
How to set up tracking for the form_submit event