- Help Center
- Troubleshooting
- Experiment Issues
-
General
-
Getting Started
-
Configuration
- Targeting
- Split URL
- Product Testing
- Full Stack
- Experiment Management
- CSP Configuration
- Experiment Execution
- Reports
- Exit Popups
- GTM Integration
- Troubleshooting
- Performance Optimization
- Event-Triggered Changes
- Holdout Groups
- Split URL Pages
- URL Parameters
- DataLayer
- Menu Configurations
- Traffic Exclusion
- Experiment Scheduling
- Dynamic Element Changes
- Price Targeting
- Experience Scheduling
- Privacy
- Hash Changes
- Async Tracking
- Selective Installation
- CSS Selectors
- Vue.js Integration
- Page Content
- Multipage Split URL
- Organic Traffic
- Visual Editor
- Server-Side Testing
- Traffic Bucketing
- GDPR Warnings
- Statistical Confidence
- Browser Privacy
- Query Parameters
- Embedded Videos
- Tracking Code Execution
- Simultaneous Experiments
- Tags
- Deployments
- Disable Testing
- Locations
- Programmatic Bucketting
- Query Parameter Handling
- Convert Library
- Variation Previews
- Experiment Editing
- Opt-Out Script
- Data Reset
- Body Hiding
- Visit-Specific Variations
- Variation Styling
- Preview Issues
- Variation Editing
- Full-Site Testing
- Blinking Variations
- Cross-Domain Cookies
- Regex Support
- Conversion Tracking
- SPA Testing
- Project Setup
- Cross-Domain Tracking
- Geo-Targeting
- Analytics Tools
- Campaign Tags
- Previewing
- IDs
- Query String Targeting
- Bounce Rate Goals
- Bot Filtering
- Query String Variables
- Custom Audiences
- Redirects
- Baseline
- Tracking Code Location
- Secure Cookies
- AngularJS
- Cloudflare
- Code Installation
-
Shopify
-
Track Goals
- Form Tracking
- Cookie Management
- iFrame Click Tracking
- Performance Optimization
- Revenue Tracking
- Interaction Goals
- Form Submissions
- Advanced Goals
- Lazy Loading
- Multi-Conversions
- URL Parameters
- Bounce Rate Goals
- DataLayer Integration
- Scroll Depth
- Social Interactions
- Page Views
- Marketo Forms
- Feature Analysis
- AJAX Forms
- Revenue Tracking via GTM
- Order Outliers
- Cumulative Revenue
- Goal Templates
- Adding Revenue Goals
- JS-Based Goals
- Goal Basics
- Google Analytics Goals
- Social Sharing
- Dynamic Goals
- Typeform Integration
-
Target Visitors
- Geolocation
- Interaction Goals
- Goal-Based Targeting
- Weather Targeting
- Cookie-Based Targeting
- Page Visits
- Audience Management
- Audience Segmentation
- Experiment Targeting
- Advanced Audience Creation
- Audience Templates
- Audience Creation
- Data Layer Integration
- Manual Activation
- JavaScript Conditions
- Device Targeting
- Language Targeting
- IP-Based Exclusion
- Visitor Management
- Page Tagging
- Cookies
-
Troubleshooting
- Google Warnings
- Visual Editor
- HTTPS Content
- Logs
- Support Options
- Bootstrap
- Cookie Blocking
- Change History
- Mobile Debugging
- AdWords
- Bot Exclusion
- Domain Issues
- Cloudflare Issues
- Monitoring
- Cloaking Penalties
- Goal Editor Issues
- Variations
- Snippet Performance
- Changes Not Saved
- Blocked Visual Editor
- Goal Testing
- Visual Editor Browsing
- Experiment Issues
- Installation Verification
- Data Leak Prevention
- Usage Limits
- Experiment Previews
- GA4 Revenue
- Chrome Debugger Logs
- SPA Errors
- Checkout JSON Error
-
Analyze Results
-
Integrations
- Google Analytics
- Cookie Consent Platforms
- Microsoft Clarity
- Plausible
- Marketo
- HubSpot
- Tealium
- Smartlook
- Klaviyo
- Salesforce CRM
- FullStory
- Snowplow Analytics
- Webflow
- GA4 Roles
- Amplitude
- Segment
- React
- BigCommerce
- WooCommerce
- Active Campaign
- Google Tag Manager
- Mixpanel
- Inspectlet
- Crazy Egg
- LanderApp
- Unbounce
- Instapage
- Drupal
- PrestaShop
- Magento
- Roistat
- Piano Analytics
- Heap Analytics
- Kissmetrics
- Mouseflow
- Adobe Analytics
- Clicky
-
Account Management
-
Developers
-
What's New
-
Common Questions
Missing Conversion Tracking Due to Event Blocking
Fix Missing Conversion Tracking: Enable Early Event Detection
THIS ARTICLE WILL HELP YOU:
-
Understand the Issue – Why conversions might not be tracked.
-
Check for Event Blocking – Simple test to detect blocked events.
Issue Overview
Convert’s tracking script captures conversion events based on user interactions, such as clicks and form submissions. It does this by attaching a single event listener to the document, allowing it to track events at a high level.
However, if other scripts on your website use event.stopPropagation()
or event.stopImmediatePropagation()
, they can prevent events from bubbling up to our listener. This interference means our script may fail to detect interactions, leading to missing conversion tracking.
How to Check if Event Propagation is Blocked
If you suspect event blocking is affecting your tracking, you can run the following test in your browser’s developer console:
const element = document.querySelector('ELEMENT_SELECTOR');
if (element) {
element.addEventListener('click', (event) => {
console.log('Event captured');
// If you see this message in the console when clicking the element,
// event propagation is NOT blocked.
});
}
Replace ELEMENT_SELECTOR
with the actual selector of the element you want to test. If you do not see "Event captured" in the console, another script is likely blocking event propagation.
Solution: Enabling Early Event Detection
To ensure our script captures interactions before they are blocked, Convert now supports early event detection using event capturing. You can enable this by adding the following code snippet to your Global JavaScript configuration:
// GlobalJS
_conv_q.push({
what: 'setParameters',
params: {
interceptEventsEarly: true // Activate early event detection
}
});
How It Works
By enabling this setting, Convert’s tracking will listen for interactions before they reach the target element, preventing issues caused by stopPropagation()
.
Important Considerations
While this setting resolves most tracking issues, be mindful of the following:
Broader Event Detection
- This feature captures all interaction events, not just those on your target elements.
Recommendation: Ensure that your goals are configured with specific selectors (e.g., unique IDs or class names).
Potential Script Conflicts
- If other scripts also use event capturing, the execution order may be unpredictable.
Recommendation: Thoroughly test in preview mode before deploying.
Performance Impact
- Capturing all interactions site-wide may affect performance in highly complex applications.
Recommendation: Enable this feature only if tracking gaps occur.
Final Thoughts
If your goals are missing conversions due to event blocking, enabling early event detection can resolve the issue. However, always test carefully to avoid unintended side effects.