Unbounce Data Layer Examples
Learn more about how ListenLayer generates powerful data layers from the activity on your Unbounce landing pages.
Data Layer Events
Like the ones shown here, generate data layer events when Unbounce activity occurs on your landing pages. Collected data, and trigger conversions, every time forms load, validations fail, or form submissions are successful. Apply this automatically across as many Unbounce pages as you need and dynamically capture data to power your analytics.
event: 'ubFormSubmitted',
event: 'ubFormLoaded',
event: 'ubFormValidationFailed',
Automatic Data Layer Values
ListenLayer pushes critical information from your Unbounce activity into the data layer whenever an event occurs (form load, form validation failure, form submission). Use data directly from the form submission to understand quality and measure activity.
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!
formFieldValidationErrors: {
first_name: {
id: 'first_name',
label: 'First Name *',
name: 'first_name',
type: 'text',
errormessage: 'This field is required.'
},
last_name: {
id: 'last_name',
label: 'Last Name *',
name: 'last_name',
type: 'text',
errormessage: 'This field is required.'
},
email: {
id: 'email',
label: 'Email *',
name: 'email',
type: 'email',
errormessage: 'This field is required.'
}
}
Unique Unbounce Values
Capture details about each specific form submission, load, or validation failure automatically so that you can better understand what Unbounce pages and variations are performing. Use this data to write custom rules that push values into your data layer in real-time!
unbounceValues: {
pageid: '967c8fc6-d55d-4ae8-9895-e1f78b5624bf',
variant: 'a',
usedAs: 'main',
name: 'Data Layer Testing',
url: 'https://unbounce.hostedstaging.com/data-layer-testing/'
},
formLocation: {
href: 'https://unbounce.hostedstaging.com/data-layer-testing/?gtm_debug=x',
host: 'unbounce.hostedstaging.com',
hostname: 'unbounce.hostedstaging.com',
pathname: '/data-layer-testing/',
protocol: 'https:',
originPathName: 'https://unbounce.hostedstaging.com/data-layer-testing/'
}
Custom Data Layer Values
Using data from your form, website, and user activity, ListenLayer allows you to write rules that generate powerful, custom data layer values. With this feature, data collection and marketing analytics becomes nearly limitless!
Some examples of popular custom data layer values for Unbounce Forms:
- 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 Unbounce Forms across your website and use these categories to organize conversion activity. For example, all forms used to download eBooks might be categorized as such. In GTM, these variables allow you to increase reporting consistency across Facebook Ads, Google Ads, Google Analytics, etc.
- Filter out test conversions based on data from the form submission.
Amplify your website analytics with powerful custom data layer values for Unbounce Forms, with no programming required!
formCustomValues: {
conversionCategory: 'Demo Form',
product: 'software request',
leadQuality: 'High',
system: 'Unbounce'
}
Capture Form Field Values
ListenLayer automatically pushes important details from user activity into your data layer, making it available for
- Triggering notifications, events, or conversions
- Writing customization rules
- Enhancing your web analytics data
- Monitoring overall conversion performance
Finally, marketers have direct visibility into the information they need from Unbounce Forms – no coding required.
Ready to Dive In?
See how easy (and powerful) ListenLayer is by opening an account today or requesting a demo.