Created
February 8, 2026 12:38
-
-
Save vanaf1979/8f88d629d26426469d1e1032e3822ccc to your computer and use it in GitHub Desktop.
GA4 CF7 submissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| document.addEventListener('wpcf7mailsent', function(event) { | |
| gtag('event', 'form_submission', { | |
| 'form_id': event.detail.contactFormId, | |
| 'event_category': 'Engagement' | |
| }); | |
| }, false); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment