Duda Analytics Integrations: Setup Guide | OpsBlu Docs

Duda Analytics Integrations: Setup Guide

Available integrations for Duda including analytics platforms, tag managers, and marketing pixels.

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

Google Analytics 4

  • Native Duda integration via Site Settings
  • Head/Body HTML injection
  • Widget-based tracking options
  • Works with Duda ecommerce

Tag Management

Google Tag Manager

  • Native GTM integration in Duda
  • Head/Body HTML injection (alternative)
  • Full data layer support
  • Agency-friendly deployment

Marketing Pixels

Meta Pixel

Duda-Specific Integration Considerations

Native Integrations

Duda provides built-in integrations for common platforms:

  1. Go to Site Settings > Site Settings
  2. Select Head HTML or Body HTML
  3. Or use dedicated integration fields

Dedicated Integrations:

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:

  1. Open page in editor
  2. Go to Page Settings
  3. 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.