We use a Gravity Form in an Elementor popup with ajax enabled. The popup is visible after pressing a button.
It works great, but in Google Tag Manager we register the form submit twice. So this gives a wrong calculation in conversions from the form. When we disable ajax, the problem is solved.
But then there is a new issue: when a visitor forgets to fill out a required field and presses submit, the page is reloaded, the popup is closed and they don’t see the error about a required field. They need to press the button again to open the form and see the error and nobody is going to do this.
The easiest fix would be to just enable Ajax so there is no page reload, but how can we fix the issue with Tag Manager registering form submit twice? To be clear: only one submission is registered within Gravity Forms submissions. It’s just that we register it twice because of ajax functionality.