Contact Form 7 Data Layer Examples
Learn more about how ListenLayer generates powerful data layers from the activity on your website, specifically from Contact Form 7.
Custom Data Layer Events
Like the ones shown here, generate data layer events when Contact Form 7 activity occurs on your website or landing pages. Collect data and trigger conversions every time forms load, validation fails, or form submissions are successful.
Unlike GTM’s “form submission trigger,” our Listeners are built custom for Contact Form 7, allowing us to improve accuracy and capture more data that is useful to marketing.
event: 'cf7FormLoaded',
event: 'cf7FormSubmitted',
event: 'cf7FormValidationFailed',
Automatic Data Layer Values
ListenLayer pushes critical information from your Contact Form 7 activity into the data layer automatically. For example, every Contact Form 7 form impression, validation failure, and submission include the form ID, form placement & location, and all data submitted by the user.
All data layer values can be captured as variables inside Google Tag Manager to push anywhere you’d like! You can even generate custom data layer values to segment your reporting.
formFieldValues: {
your-name: {
value: 'test',
label: 'Your Name (required)',
name: 'your-name',
type: 'text',
placeholder: 'Your name here'
},
your-email: {
value: '[email protected]',
label: 'Your Email (required)',
name: 'your-email',
type: 'email'
},
},
formLocation: {
href: 'http://demo.hostedstaging.com/contact-form-7/',
host: 'demo.hostedstaging.com',
hostname: 'demo.hostedstaging.com',
pathname: '/contact-form-7/',
protocol: 'http:',
originPathName: 'http://demo.hostedstaging.com/contact-form-7/'
}
Custom Data Layer Values
Using data from your Contact Form 7 forms, website, and user activity, ListenLayer allows you to write powerful rules that generate custom data layer values. With this feature, data collection and marketing analytics becomes nearly limitless!
Examples of popular custom data layer values for Contact Form 7:
- Fire or segment conversions (or change conversion values) based on form quality using a visitor’s email address (i.e., @gmail.com emails might be less valuable to your organization).
- Categorize Contact Form 7 forms across your website and use these categories to organize conversion activity.
- Chain multiple Contact Form 7 forms into a multi-step experience and label each step’s number.
Amplify your website analytics with powerful custom data layer values for Contact Form 7, with no programming required!
formCustomValues: {
//custom variable values display here based on rules you write
formCategory: 'Demo',
formName: 'Landing Page Demo Form',
formQuality: 'Low'
},
Capture Form Field Values
ListenLayer automatically pushes important details from user activity into your data layer, making it available for
- Triggering notifications
- Saving backups
- Writing customization rules
- Monitoring overall CTA performance
Finally, marketers have direct visibility into the information they need from Contact Form 7 – no coding required.
Ready to Dive In?
See how easy (and powerful) ListenLayer is by opening an account today or requesting a demo.