Track Formyoula Web Forms Using Google Tag Manager

This guide will explain how to use Google Tag Manager to track Formyoula online form.

  • Add the following javascript snippet on the start of the first page of the form.
  • Update GTM-XXXXXXX with Google Tag Manager id.
  • Add the below code to every page for tracking with different pageName and pageTitle properties.
  • We will use this dataLayer.push as a triggering condition in GTM (that activates the GA Pageview tag) and then send the title and page name (page over to GA).
  • Follow this for more info on data layer https://developers.google.com/tag-platform/tag-manager/web/datalayer
  • Go to Google Tag Manager workspace.
  • Create variables in Google Tag Manager.
image

image
image
  • Create a Custom Event.
image
  • Go to Tags > New > GA4 event tag
image
  • GA4 configuration tag (that you should have created before). This tag should fire on All Pages.
  • Disable the checkbox in the GA4 configuration tag.
image
  • Publish the changes and start tracking.
image

Don't hesitate to contact us at [email protected] or the Formyoula in-app chat for any questions.🙂