Contact Form 7 : submit event and not success event
-
Hello,
I’m using your plugin to push form submission to GTM and it’s works as a charm.
But I have a problem, the event listener used is the submit event
wpcf7submit
This event fire a datalayer push
gtm4wp.contactForm7Submitted
if the form is valid or invalid.On your website it says “Track successful form submissions of your Contact Form 7 forms.”
Can you add a second listener on this event
wpcf7mailsent
and push a second datalayer push event ongtm4wp.contactForm7SubmittedSuccessfully
or somthing like that.I used it on several websites and I noticed that the event was received multiple times if the user submit the form multiple time because he forgot a mandatory field or typed a wrong value somewhere and had to resend the form.
Best regards,
Florian
- The topic ‘Contact Form 7 : submit event and not success event’ is closed to new replies.