Duda Troubleshooting: Common Issues and Fixes | OpsBlu Docs

Duda Troubleshooting: Common Issues and Fixes

Troubleshoot common Duda issues including performance problems and tracking failures.

Common issues you may encounter with Duda websites and how to diagnose and fix them.

Performance Issues

Duda is known for good performance, but issues can still arise from customizations and third-party code.

Largest Contentful Paint (LCP)

LCP measures loading performance. Duda-specific LCP issues include:

  • Large hero images and banners
  • Third-party widgets loading synchronously
  • Custom fonts blocking render
  • Video backgrounds
  • Excessive widget usage

Target: LCP under 2.5 seconds

Cumulative Layout Shift (CLS)

CLS measures visual stability. Duda-specific CLS issues include:

  • Images without explicit dimensions
  • Dynamic widget content
  • Font loading causing shifts
  • Pop-ups and modals
  • Lazy-loaded content above fold

Target: CLS under 0.1

General Performance Best Practices

Image Optimization:

  • Duda auto-optimizes images, but source quality matters
  • Use appropriate image sizes (don't upload 5000px images for 500px display)
  • Enable lazy loading for below-fold content
  • Use Duda's image optimization settings

Widget Management:

  • Remove unused widgets
  • Consolidate functionality where possible
  • Avoid heavy third-party embeds above fold
  • Test widget impact on performance

Code Optimization:

  • Minimize custom Head HTML
  • Use async/defer for non-critical scripts
  • Consolidate tracking through GTM
  • Remove unused custom code

For general performance concepts, see the global performance hub.

Tracking & Analytics Issues

Events Not Firing

Common causes of tracking failures on Duda:

  • Code placement errors (Head vs Body)
  • Native integration not configured
  • JavaScript errors from widgets
  • Consent management blocking
  • GTM container misconfiguration

Common scenarios:

  • GA4 not tracking (integration not enabled)
  • Meta Pixel missing events (code in wrong location)
  • Ecommerce events not firing (data layer issues)
  • Tracking works in preview but not live (cache issues)

Tracking Best Practices

Use Native Integrations:

  • Go to Site Settings for supported platforms
  • More reliable than manual code
  • Automatic updates and maintenance

Test Before Publishing:

  • Use Duda's preview mode
  • Enable debug extensions
  • Verify in platform dashboards

Clear Cache After Changes:

  • Duda caches aggressively
  • Clear site cache after tracking changes
  • Test in incognito mode

For general tracking concepts, see the global tracking hub.

Common Duda-Specific Issues

Publishing Not Reflecting Changes

Problem: Code changes not appearing on live site.

Causes:

  • Site not republished
  • CDN/browser cache
  • Preview vs live URL mismatch

Fix:

  1. Republish site (not just save)
  2. Clear Duda's CDN cache (Site Settings > Advanced)
  3. Clear browser cache
  4. Test on different device/browser

Widget Conflicts

Problem: Custom code conflicts with Duda widgets.

Diagnosis:

  1. Check browser console for errors
  2. Disable custom widgets one by one
  3. Test in different browsers

Fix:

  • Adjust code to not conflict with widget scripts
  • Contact widget developer
  • Use alternative widget

Ecommerce Data Layer Empty

Problem: Ecommerce events not populating correctly.

Causes:

  • Ecommerce not enabled
  • Wrong page type
  • Data layer not initialized

Fix:

  1. Verify ecommerce is enabled
  2. Check you're on a product/cart/checkout page
  3. Use Duda's dmAPI for product data:
// Check product data availability
console.log(window.dmAPI.getProductInfo());

Multi-Language Site Tracking

Problem: Analytics not tracking correctly across language versions.

Causes:

  • Separate tracking needed per language
  • URL structure affecting tracking
  • Incorrect language parameter passing

Fix:

  • Use single GA4 property with language dimension
  • Configure cross-domain if using subdomains
  • Pass language as custom dimension

Debugging Tools

Browser Developer Tools

Chrome DevTools (F12):

  • Console: Check for JavaScript errors
  • Network: Verify analytics requests
  • Elements: Confirm code in head/body

Duda-Specific Debugging

Check Head/Body HTML:

Site Settings > Site Settings > Head HTML / Body HTML

View Page Source:

Right-click on live site > View Page Source > Search for tracking code

Analytics Debugging Tools

Browser Extensions:

Platform Tools:

  • GA4 DebugView
  • Meta Events Manager Test Events
  • GTM Preview Mode

Performance Testing

Getting Help

Duda Support

Duda Help Center:

Duda Community:

Duda Support:

  • Chat and email support
  • Priority support for higher plans
  • Agency partner support

When to Hire a Developer

Consider hiring a Duda expert when:

  • Complex custom functionality needed
  • Performance optimization required
  • Multi-site management
  • API integrations
  • White-label customizations

Next Steps

Performance Issues:

Tracking Issues:

Prevention:

  • Document all customizations
  • Test in preview before publishing
  • Clear cache after changes
  • Monitor analytics regularly