{"id":6860,"date":"2024-06-19T17:35:50","date_gmt":"2024-06-19T17:35:50","guid":{"rendered":"https:\/\/lite14.net\/blog\/?p=6860"},"modified":"2024-06-19T17:38:38","modified_gmt":"2024-06-19T17:38:38","slug":"how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager","status":"publish","type":"post","link":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/","title":{"rendered":"How to Track Form Submissions on AJAX Forms using Google Tag Manager"},"content":{"rendered":"<p>Google Tag Manager (GTM) is a powerful tool for managing tags (snippets of code) on your website, allowing you to track user interactions, collect data, and trigger specific actions. One common use case is tracking form submissions, which can provide valuable insights into user behavior and help you optimize your forms for better conversion rates. In this comprehensive guide, we&#8217;ll walk you through the process of tracking form submissions on AJAX forms using Google Tag Manager.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#Understanding_the_Challenges_of_Tracking_Form_Submissions\" >Understanding the Challenges of Tracking Form Submissions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#Setting_up_Google_Tag_Manager_GTM\" >Setting up Google Tag Manager (GTM)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#Tracking_Form_Submissions_with_Custom_HTML_Tags\" >Tracking Form Submissions with Custom HTML Tags<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#_1_Create_a_Custom_HTML_Tag\" >\u00a01. Create a Custom HTML Tag<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#_2_Add_the_Tag_Code\" >\u00a02. Add the Tag Code<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#_3_Configure_the_Tag_Trigger\" >\u00a03. Configure the Tag Trigger<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#_4_Set_up_the_Triggering_Conditions\" >\u00a04. Set up the Triggering Conditions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#_5_Configure_the_Tag_Firing_Options\" >\u00a05. Configure the Tag Firing Options<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#6_Deploying_the_Tag\" >6. Deploying the Tag<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#7_Verifying_Form_Submission_Tracking\" >7. Verifying Form Submission Tracking<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#Advanced_Use_Cases_and_Best_Practices\" >Advanced Use Cases and Best Practices<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Understanding_the_Challenges_of_Tracking_Form_Submissions\"><\/span>Understanding the Challenges of Tracking Form Submissions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before we dive into the solution, it&#8217;s essential to understand the challenges of tracking form submissions:<\/p>\n<ol>\n<li><strong>AJAX Forms<\/strong>: Modern web applications often use AJAX (Asynchronous JavaScript and XML) to dynamically update content without reloading the entire page. This makes it challenging for traditional page-view-based tracking methods to capture form submissions.<\/li>\n<li><strong>\u00a0Form Submissions are Not Page Views:<\/strong> Form submissions are not traditional page views, as they don&#8217;t trigger a full page reload. This means that standard page-view-based tracking methods won&#8217;t capture these events.<\/li>\n<li><strong>Need for Custom Solution<\/strong>: To overcome these challenges, you need a custom solution that can detect form submissions and trigger tags accordingly.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Setting_up_Google_Tag_Manager_GTM\"><\/span>Setting up Google Tag Manager (GTM)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To track form submissions with GTM, you&#8217;ll need to set up the following:<\/p>\n<ol>\n<li><strong>\u00a0Create a GTM Account:<\/strong> If you haven&#8217;t already, create a GTM account and set up your tracking container.<\/li>\n<li><strong>Create a Form Tracking Tag<\/strong>: In your GTM container, create a new tag and choose the &#8220;Custom HTML&#8221; tag type.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Tracking_Form_Submissions_with_Custom_HTML_Tags\"><\/span>Tracking Form Submissions with Custom HTML Tags<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To track form submissions, you&#8217;ll need to create a custom HTML tag that detects when the form is submitted. You&#8217;ll add this tag to your form&#8217;s submit event listener.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"_1_Create_a_Custom_HTML_Tag\"><\/span>\u00a01. Create a Custom HTML Tag<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>In your GTM container, create a new tag and choose the &#8220;Custom HTML&#8221; tag type.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"_2_Add_the_Tag_Code\"><\/span>\u00a02. Add the Tag Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>In the &#8220;HTML&#8221; field, add the following code:<br \/>\n&#8220;`html<br \/>\n&lt;script&gt;<br \/>\n\/\/ Get the form element<br \/>\nvar form = document.querySelector(&#8216;form&#8217;);<\/li>\n<li>\/\/ Add an event listener to the form&#8217;s submit event<br \/>\nform.addEventListener(&#8216;submit&#8217;, function(event) {<br \/>\n\/\/ Prevent default form submission behavior<br \/>\nevent.preventDefault();<\/li>\n<li>\/\/ Send a track event to GTM<br \/>\ndataLayer.push({<br \/>\n&#8216;event&#8217;: &#8216;formSubmission&#8217;,<br \/>\n&#8216;formId&#8217;: &#8216;{{form.id}}&#8217;,<br \/>\n&#8216;formData&#8217;: JSON.stringify({<br \/>\n&#8216;name&#8217;: &#8216;{{form.name}}&#8217;,<br \/>\n&#8217;email&#8217;: &#8216;{{form.email}}&#8217;,<br \/>\n\/\/ Add more form fields as needed<br \/>\n})<br \/>\n});<br \/>\n});<br \/>\n&lt;\/script&gt;<br \/>\n&#8220;`<br \/>\nThis code gets the form element, adds an event listener to the submit event, prevents default form submission behavior, and sends a track event to GTM with the form ID and form data.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"_3_Configure_the_Tag_Trigger\"><\/span>\u00a03. Configure the Tag Trigger<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>In the &#8220;Triggering&#8221; section, select &#8220;Custom Event&#8221; and set the trigger name to &#8220;Form Submission&#8221;.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"_4_Set_up_the_Triggering_Conditions\"><\/span>\u00a04. Set up the Triggering Conditions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>In the &#8220;Triggering Conditions&#8221; section, add a condition to trigger the tag when the event is &#8220;formSubmission&#8221;.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"_5_Configure_the_Tag_Firing_Options\"><\/span>\u00a05. Configure the Tag Firing Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>In the &#8220;Firing Options&#8221; section, set &#8220;Firing&#8221; to &#8220;On all hits&#8221; and &#8220;Firing Sequence&#8221; to &#8220;First hit&#8221;.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"6_Deploying_the_Tag\"><\/span>6. Deploying the Tag<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Once you&#8217;ve set up the custom HTML tag and trigger, deploy it to your website by clicking &#8220;Publish&#8221; in GTM.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"7_Verifying_Form_Submission_Tracking\"><\/span>7. Verifying Form Submission Tracking<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To verify that your form submission tracking is working correctly:<\/p>\n<ol>\n<li>Open your browser&#8217;s developer tools (e.g., Chrome DevTools) and inspect the network requests.<\/li>\n<li>Submit your form and observe that a request is sent to Google&#8217;s measurement protocol (e.g., `https:\/\/www.google-analytics.com\/collect`).<\/li>\n<li>In your GTM account, go to the &#8220;Audience&#8221; section and select &#8220;Real-Time&#8221; &gt; &#8220;Behavior&#8221; &gt; &#8220;Events&#8221;. You should see a count of form submissions.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Advanced_Use_Cases_and_Best_Practices\"><\/span>Advanced Use Cases and Best Practices<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To get more out of your form submission tracking:<\/p>\n<ol>\n<li><strong>\u00a0Use variables<\/strong>: Use variables in your custom HTML code to make it easier to modify or extend your tracking setup.<\/li>\n<li><strong>Track additional data:<\/strong> Capture additional data from your forms by adding more properties to your `dataLayer.push()` call.<\/li>\n<li><strong>Use GTM&#8217;s built-in functions<\/strong>: Utilize GTM&#8217;s built-in functions (e.g., `dataLayer.push()` , `gtm.map()`) to simplify your code.<\/li>\n<li><strong>\u00a0Configure tags for different forms<\/strong>: Set up separate tags for different forms on your website by using different trigger names or conditions.<\/li>\n<li><strong>\u00a0Monitor and optimize<\/strong>: Regularly monitor your form submission tracking performance and optimize your tags for better data quality.<\/li>\n<\/ol>\n<p>In conclusion, tracking form submissions with Google Tag Manager requires a custom solution that detects form submissions and triggers tags accordingly. By following this comprehensive guide, you&#8217;ll be able to set up accurate and reliable form submission tracking for your AJAX forms.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Tag Manager (GTM) is a powerful tool for managing tags (snippets of code) on your website, allowing you to track user interactions, collect data,&#8230;<\/p>\n","protected":false},"author":210,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[270],"tags":[],"class_list":["post-6860","post","type-post","status-publish","format-standard","hentry","category-digital-marketing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Track Form Submissions on AJAX Forms using Google Tag Manager - Lite14 Tools &amp; Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Track Form Submissions on AJAX Forms using Google Tag Manager - Lite14 Tools &amp; Blog\" \/>\n<meta property=\"og:description\" content=\"Google Tag Manager (GTM) is a powerful tool for managing tags (snippets of code) on your website, allowing you to track user interactions, collect data,...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"Lite14 Tools &amp; Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-19T17:35:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-19T17:38:38+00:00\" \/>\n<meta name=\"author\" content=\"admin3\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin3\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/\"},\"author\":{\"name\":\"admin3\",\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/person\/3fcb0f4c8bd53264d6447eb6a6d36e81\"},\"headline\":\"How to Track Form Submissions on AJAX Forms using Google Tag Manager\",\"datePublished\":\"2024-06-19T17:35:50+00:00\",\"dateModified\":\"2024-06-19T17:38:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/\"},\"wordCount\":740,\"publisher\":{\"@id\":\"https:\/\/lite14.net\/blog\/#organization\"},\"articleSection\":[\"Digital Marketing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/\",\"url\":\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/\",\"name\":\"How to Track Form Submissions on AJAX Forms using Google Tag Manager - Lite14 Tools &amp; Blog\",\"isPartOf\":{\"@id\":\"https:\/\/lite14.net\/blog\/#website\"},\"datePublished\":\"2024-06-19T17:35:50+00:00\",\"dateModified\":\"2024-06-19T17:38:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lite14.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Track Form Submissions on AJAX Forms using Google Tag Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lite14.net\/blog\/#website\",\"url\":\"https:\/\/lite14.net\/blog\/\",\"name\":\"Lite14 Tools &amp; Blog\",\"description\":\"Email Marketing Tools &amp; Digital Marketing Updates\",\"publisher\":{\"@id\":\"https:\/\/lite14.net\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lite14.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lite14.net\/blog\/#organization\",\"name\":\"Lite14 Tools &amp; Blog\",\"url\":\"https:\/\/lite14.net\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lite14.net\/blog\/wp-content\/uploads\/2025\/09\/cropped-lite-logo.png\",\"contentUrl\":\"https:\/\/lite14.net\/blog\/wp-content\/uploads\/2025\/09\/cropped-lite-logo.png\",\"width\":191,\"height\":178,\"caption\":\"Lite14 Tools &amp; Blog\"},\"image\":{\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/person\/3fcb0f4c8bd53264d6447eb6a6d36e81\",\"name\":\"admin3\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a47a48d3f454a7aa919c16c5d03a6b63ff4ecdd1d2405bfba02f09414226574?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a47a48d3f454a7aa919c16c5d03a6b63ff4ecdd1d2405bfba02f09414226574?s=96&d=mm&r=g\",\"caption\":\"admin3\"},\"url\":\"https:\/\/lite14.net\/blog\/author\/adeyemoemmanuel001\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Track Form Submissions on AJAX Forms using Google Tag Manager - Lite14 Tools &amp; Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to Track Form Submissions on AJAX Forms using Google Tag Manager - Lite14 Tools &amp; Blog","og_description":"Google Tag Manager (GTM) is a powerful tool for managing tags (snippets of code) on your website, allowing you to track user interactions, collect data,...","og_url":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/","og_site_name":"Lite14 Tools &amp; Blog","article_published_time":"2024-06-19T17:35:50+00:00","article_modified_time":"2024-06-19T17:38:38+00:00","author":"admin3","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin3","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#article","isPartOf":{"@id":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/"},"author":{"name":"admin3","@id":"https:\/\/lite14.net\/blog\/#\/schema\/person\/3fcb0f4c8bd53264d6447eb6a6d36e81"},"headline":"How to Track Form Submissions on AJAX Forms using Google Tag Manager","datePublished":"2024-06-19T17:35:50+00:00","dateModified":"2024-06-19T17:38:38+00:00","mainEntityOfPage":{"@id":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/"},"wordCount":740,"publisher":{"@id":"https:\/\/lite14.net\/blog\/#organization"},"articleSection":["Digital Marketing"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/","url":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/","name":"How to Track Form Submissions on AJAX Forms using Google Tag Manager - Lite14 Tools &amp; Blog","isPartOf":{"@id":"https:\/\/lite14.net\/blog\/#website"},"datePublished":"2024-06-19T17:35:50+00:00","dateModified":"2024-06-19T17:38:38+00:00","breadcrumb":{"@id":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/lite14.net\/blog\/2024\/06\/19\/how-to-track-form-submissions-on-ajax-forms-using-google-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lite14.net\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Track Form Submissions on AJAX Forms using Google Tag Manager"}]},{"@type":"WebSite","@id":"https:\/\/lite14.net\/blog\/#website","url":"https:\/\/lite14.net\/blog\/","name":"Lite14 Tools &amp; Blog","description":"Email Marketing Tools &amp; Digital Marketing Updates","publisher":{"@id":"https:\/\/lite14.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lite14.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lite14.net\/blog\/#organization","name":"Lite14 Tools &amp; Blog","url":"https:\/\/lite14.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lite14.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/lite14.net\/blog\/wp-content\/uploads\/2025\/09\/cropped-lite-logo.png","contentUrl":"https:\/\/lite14.net\/blog\/wp-content\/uploads\/2025\/09\/cropped-lite-logo.png","width":191,"height":178,"caption":"Lite14 Tools &amp; Blog"},"image":{"@id":"https:\/\/lite14.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/lite14.net\/blog\/#\/schema\/person\/3fcb0f4c8bd53264d6447eb6a6d36e81","name":"admin3","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lite14.net\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a47a48d3f454a7aa919c16c5d03a6b63ff4ecdd1d2405bfba02f09414226574?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a47a48d3f454a7aa919c16c5d03a6b63ff4ecdd1d2405bfba02f09414226574?s=96&d=mm&r=g","caption":"admin3"},"url":"https:\/\/lite14.net\/blog\/author\/adeyemoemmanuel001\/"}]}},"_links":{"self":[{"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/posts\/6860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/users\/210"}],"replies":[{"embeddable":true,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/comments?post=6860"}],"version-history":[{"count":3,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/posts\/6860\/revisions"}],"predecessor-version":[{"id":6878,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/posts\/6860\/revisions\/6878"}],"wp:attachment":[{"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/media?parent=6860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/categories?post=6860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/tags?post=6860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}