A condition that will allow this tag to fire only when the form is successfully submitted. Finally, you need to add the appropriate JavaScript to the website to notify Google Tag Manager that the form has been successfully submitted. After these steps, Google Tag Manager will be able to monitor each successfully submitted Ajax form and report the information to Google Analytics.
How to optimize tracking code for Ajax forms using Google Country Email List Tag Manager? To optimize your tracking code for Ajax forms using Google Tag Manager, do the following: Create a new tag of type "Conversion" in Google Tag Manager. ) Select "Form" as the action type. ) In the "Action" field, enter the name of the form, e.g. "Contact form.

In the "Category" field, enter the name of the page where the form is located,"Home". ) Set "Asynchronous Sending" to "Yes". ) Click the "Save" button and publish the changes to Google Tag Manager. After these steps, the tracking code for Ajax forms should be optimally configured and ready to use. |