Duda provides multiple methods to integrate analytics platforms, tag managers, and marketing pixels. This section covers the most common integrations and Duda-specific implementation details.
Available Integrations
Analytics Platforms
- Native Duda integration via Site Settings
- Head/Body HTML injection
- Widget-based tracking options
- Works with Duda ecommerce
Tag Management
- Native GTM integration in Duda
- Head/Body HTML injection (alternative)
- Full data layer support
- Agency-friendly deployment
Marketing Pixels
- Native integration via Site Settings
- Manual HTML injection method
- Ecommerce event tracking
- Conversions API support
Duda-Specific Integration Considerations
Native Integrations
Duda provides built-in integrations for common platforms:
- Go to Site Settings > Site Settings
- Select Head HTML or Body HTML
- Or use dedicated integration fields
Dedicated Integrations:
- Google Analytics (GA4 and UA)
- Google Tag Manager
- Meta Pixel
- Google Ads Conversion Tracking
- LinkedIn Insight Tag
Code Injection Access
All Duda Plans:
- Head HTML injection
- Body HTML injection (before closing tag)
- Per-page code injection options
- Widget-based code embedding
Agency Features
Duda is popular with agencies. Key features:
- White-label dashboard
- Client-specific code injection
- Template-level integrations
- Bulk site management
Ecommerce Tracking
Duda's ecommerce platform supports:
- Product view tracking
- Add to cart events
- Checkout initiated
- Purchase completed
- Automatic data layer population
Data Layer
Duda provides a built-in data layer for ecommerce:
// Available on ecommerce sites
window.dmAPI.getProductInfo() // Current product data
window.dmAPI.getCartInfo() // Cart data
Integration Best Practices
1. Use Native Integrations First
For supported platforms, use Duda's native integrations:
- Simpler setup
- Automatic updates
- Better support
2. Consolidate Through GTM
For complex tracking needs:
- Install GTM natively
- Add all other pixels through GTM
- Easier management and debugging
3. Test in Editor Preview
Duda allows testing before publish:
- Preview site with tracking enabled
- Use debug tools to verify
- Check all page types
4. Per-Page Tracking
For specific page tracking:
- Open page in editor
- Go to Page Settings
- Add page-specific Head/Body HTML
Multi-Site Considerations
For agencies managing multiple Duda sites:
- Create integration templates
- Use consistent naming conventions
- Document per-site customizations
- Leverage Duda's API for bulk updates
Next Steps
Choose your integration to get started:
For general integration concepts, see the global analytics platforms hub.