Name: wpforms – [insert form] – submit trigger
Trigger Type: Click – All Elements
This trigger fires on: Some Clicks
Fire this trigger when:
- Click Classes | Contains | wpforms-submit
- cjs – insert form – emailAddr | Contains | @
The second option is a protective setting that only allows the trigger to occur when there’s an @-symbol used in the email address field (all email addresses will have an @ symbol).
[OPTIONAL] – Page Path | Contains | /insert-page-path
You can get as granular as you want. If the form is only present on one specific page. If the form is on multiple pages, you may not want to use Page Path.
[IMPORTANT] – It’s worth knowing that the Click Class in WPForms is wpforms-submit. This is key to ensuring the trigger recognizes when the submit button is selected. I can’t say for certain this is true in every installation, but you can use the GTM Preview tool to confirm your Click Class.
Your Trigger Should Look Something Like This