CF7 Form Name from Dom event when there is more than one form type on the page
-
Hello,
We are using CF7 a lot, and it’s great, so thanks! I have a question though – we are using maybe 6 or 7 different types of form through our website, and want to send the form name to analytics as an event label or value – this is so we can see which type of form the user has submitted and link that to our adwords conversions.
I see that we can use the form ID from event.detail, but is there an easy way to link this with the form name? There is often more than one type of form on any single page on the site, otherwise I thought we could grab from the element using js.
We also run multiple websites which have the same forms, so it would be nice to compare ‘Form A’ on website 1 with ‘Form A’ on website 2 in analytics/adwords. We could maybe change all the form IDs so they match between websites, but it would be much nicer to have the names.
Many thanks!
Cal
- The topic ‘CF7 Form Name from Dom event when there is more than one form type on the page’ is closed to new replies.