Adding Marketo Measure Script to Lightbox Forms
- Topics:
- Tracking
Learn how to properly add the Marketo Measure JavaScript to a form within a lightbox.
A lightbox opens a form in front of your content when the visitor performs a specific action (that is, clicking a particular portion of the page, spending a certain time on the page, and so on). Typically we ask to have the Marketo Measure JavaScript placed in the head of the landing page, but for forms within a lightbox there’s one extra step needed.
Since a form within a lightbox is basically a form within an iFrame, the script is placed within that iFrame.
First, locate the iFrame the lightbox form lives in.
Next, place the Marketo Measure JavaScript within the iFrame.
Finally, when the JavaScript is added, validate form submissions are being tracked by following these directions:
- Copy the URL of the landing page containing the lightbox form.
- Open an Incognito browser and paste the URL.
- Submit the form using a unique email address.
- Confirm that the test was tracked by checking your CRM for the unique email address used, ensure that Touchpoint data is populating.
Marketo Measure
- Overview
- Introduction to Marketo Measure
- Marketo Measure Tracking
- Setting Up Tracking
- Best Practices for Implementing Marketo Measure JavaScript
- Adding Marketo Measure Script
- Adding Marketo Measure Script via Google Tag Manager
- Data Collected by JavaScript
- Adding Marketo Measure Script to Different Form Providers
- Adding Marketo Measure JavaScript to Pardot
- Adding Marketo Measure Script to Lightbox Forms
- Adding Marketo Measure Script to Sitecore Pages
- Adding Marketo Measure Script to Uberflip Forms
- Adding Marketo Measure to Act-On Forms
- Adding Marketo Measure to Hubspot
- Adding Marketo Measure to Marketo Landing Pages
- AJAX Form Handling
- Connecting Marketo Measure to Unbounce Script Manager
- IFrame Forms and Marketo Measure
- Excluding Marketo Measure from Specific Forms
- Marketo Measure Cookies
- Definition of Marketo Measure Web Sessions
- Best Practices for Testing
- Setting Up Tracking
- Configuration and Setup
- Getting Started with Marketo Measure
- Marketo Measure and Salesforce
- Marketo Measure Salesforce Package Installation and Set Up
- Salesforce Package Consolidation
- Connect Marketo Measure to Salesforce
- Best Practices for Marketo Measure CRM Package
- Marketo Measure Salesforce Objects
- Error Handling for CRM Exports
- How Marketo Measure and Salesforce Interact
- Marketo Measure Object and Field Taxonomy
- Marketo Measure Fields on Standard Salesforce Objects
- Page Layout Instructions
- Hiding Unnecessary Report Types
- Creating a Marketo Measure Profile
- Marketo Measure Permission Sets
- Recommended Salesforce Permissions for Marketo Measure Connected User
- Sandbox Testing
- Marketo Measure Insights (Canvas App)
- Channel Tracking and Setup
- API Connections
- Marketing Spend
- Advanced Marketo Measure Features
- Marketo Measure Discover UI
- Dashboards
- Discover Dashboard Basics
- New Discover Dashboard Guide
- Dashboard Data Visibility Policy
- Attributed Opportunity Dashboard
- Attributed Revenue Dashboard
- Engagement Dashboard
- Keyword ROI Dashboard
- Lead Velocity Dashboard
- Opportunity Velocity Dashboard
- Passport Dashboard
- Revenue Overview Dashboard
- ROI Dashboard
- Web Traffic Dashboard
- Dashboards
- Marketo Measure and Adobe
- Marketo Measure and Dynamics
- Marketo Measure and Marketo
- Marketo Measure Salesforce Reporting
- Marketo Measure Data Warehouse
- BI Report Templates
- Security and Compliance
- Marketo Measure Ultimate
- Miscellaneous
- Other Related Resources
- Marketo Measure Maintenance
- Marketo Measure Resource List
- Call Tracking Integration
- Difference between a Google Analytics Conversion and a Buyer Touchpoint
- Email Tracking Parameter
- Granting Salesforce Access to Marketo Measure Support
- Privacy Request
- Remove Marketo Measure Tracking Parameters from the Landing Page URL in Google Analytics
- Transitioning to Marketo Measure from Full Circle
- Other Related Resources
- Release Notes