tag manager AI generates

gtm.formInteract: A new event in Tag Manager

I was working on a site today and noticed a new GTM event. Its called gtm.forminteract. Doing a Google search nothing came up, so I assume its new.

Capture the steps from the data layer and you can see exactly where the drop off occurs.

Have you ever been asked to track every form field? I have and its tricky, especially if the form is over multiple pages.

With this new custom event, its going to be a lot easier.

screenshot
new forminteract inGTM

What is gtm.formInteract?

screen of datalayer
form interaction data layer

You can collect the data layer values and create events off the parameters. For example, you could have a variable based on interactedFormFieldName and trigger an event based on it.

I would recommend creating an event called form_stage and have a parameter called form_step and send the steps in as a parameter.

form interactions
enhanced collection

You can get rid of the form interaction collection in GA4 now. It was marginal before whether it was worth it but now its not.

Ben's Conclusion

Next time someone asks you to track every form field, its not going to be a chore with all custom JavaScript. You just capture the variables in the data layer and create events off that or one event with parameters.

Similar Posts

4 Comments

  1. Hi Ben!

    I have also come across this event and tried it out on a test page (provided by my education) that I am using in my studies in GTM, works smooth! I am keen on starting to use this event for clients at my internship but it is not be found in their event summaries in GTM. Do you know if this feature is included in new updates for form plugins in WordPress (eg. CF7 and WP Forms) or where can I get hold of it?

    1. Hi Max

      This is something in tag manager, independent of the form you use. It just pops up an event you can capture and send to GA4. Book a free 15 minutes if you want and I will show you.

  2. Hi Ben, noticed it too, and used it for a project.
    But since 25th of April, the event has gone, I can’t see it any more.
    Are you in the same situation?

Leave a Reply

Your email address will not be published. Required fields are marked *