Marketo Forms Data Layer Examples
Learn more about how ListenLayer generates powerful data layers from the activity on your website, specifically from Marketo Forms.
Custom JavaScript Events
Like the ones shown here, generate data layer events when Marketo 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 Marketo Forms, allowing us to improve accuracy and capture more data that is useful to marketing.
Automatic Data Layer Values
ListenLayer pushes critical information from your Marketo Forms activity into the data layer automatically. For example, every Marketo Form submission or step-change includes the form ID, form placement & location, and all data submitted by the user. Choose to show or hide these details in your data layer to customize your configuration for simplicity or power.
All data layer values can be captured inside marketing platforms or as variables inside Google Tag Manager to push anywhere you’d like. You can even generate custom data layer values.
event: 'marketoFormSubmitted',
event: 'marketoFormLoaded',
event: 'marketoFormValidationFailed',
Automatic Data Layer Values
ListenLayer pushes critical information from your Marketo Forms activity into the data layer automatically. For example, every Marketo submission includes the form ID, form placement & location, and all data submitted by the user.
All data layer values can be captured inside marketing platforms or as variables inside Google Tag Manager to push anywhere you’d like! You can even generate custom data layer values to segment your reporting.
formAutomaticValues: {
formID: 3826,
formFieldValues: {
FirstName: {
id: 'FirstName',
value: 'test',
label: '*First Name',
name: 'FirstName',
type: 'text'
},
LastName: {
id: 'LastName',
value: 'test',
label: '*Last Name',
name: 'LastName',
type: 'text'
},
Email: {id: 'Email', value: '[email protected]', label: '*Email', name: 'Email', type: 'email'},
},
formLocation: {
href: 'https://demo.hostedstaging.com/marketo-form/',
host: 'demo.hostedstaging.com',
hostname: 'demo.hostedstaging.com',
pathname: '/marketo-form/',
protocol: 'https:',
originPathName: 'https://demo.hostedstaging.com/marketo-form/'
}
}
Custom Data Layer Values for Marketo Forms
Using data from your Marketo Forms, website, and user activity, ListenLayer allows you to write powerful rules that generate custom data layer values. Grab these values using GTM and use them to organize, enhance, and segment your marketing analytics.
Amplify your website analytics with powerful custom data layer values for Marketo Forms, 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 Marketo Field Values
ListenLayer automatically pushes important details from user activity and Marketo submissions into your data layer, making it available for
- Triggering notifications
- Writing customization rules
- Scoring user activity
- Monitoring overall CTA performance
Finally, marketers have direct visibility into the information they need from Marketo Forms – no coding required.
Ready to Dive In?
See how easy (and powerful) ListenLayer is by opening an account today or requesting a demo.