You need to look for the "id" attribute in the <form>. Here is an example: form id check element Tip : Press ctrl + f in the inspector to search Denmark Phone Number List content. Note : If your form doesn't have a unique ID, you may need to ask your developer to add one. However, if your site uses a form plugin, such as WordPress' Denmark Phone Number List Form 7, you can add an id yourself. Then fill in the tracking type as event, and determine the tracking parameters for the category and label.
Create Triggers In GTM, create a new trigger and Denmark Phone Number List it a title for easy identification later. Something like "Inquiry Form Submission" or "Contact Page Form Submission" will do. Under Select Events, select Denmark Phone Number List Form Submit: Query form submit trigger Click Continue, then check "Wait Label" and "Check Validation" to ensure your trigger fires on a successful (valid) form submission: Validate form submission event tracking Click Continue and enter the URL path you noted earlier: Enable trigger page url to include page path.
If your form is on multiple pages, you can set Denmark Phone Number List trigger to fire on the page containing your domain: enable trigger google tag manager Click Continue and select Some Tables: trigger trigger gtm To complete your trigger, add the form ID you noted earlier (don't use my form ID!): Trigger form ID event tracking You have now Denmark Phone Number List the conditions required to fire the trigger. Next, we will create a label. Step 4 - Create Labels Create a new Universal Analytics code. This tab will send event information to Google Denmark Phone Number List . Again, make sure to give it a memorable name: Create Tag Event Tracking with Google Tag Manager Add your Google Analytics Tracking ID in the next field: configure.