Zyro Troubleshooting: Common Issues and Fixes | OpsBlu Docs

Zyro Troubleshooting: Common Issues and Fixes

Troubleshoot common Zyro issues including performance problems and tracking failures.

Common issues you may encounter with your Zyro site and how to diagnose and fix them.

Performance Issues

Zyro sites are optimized for speed, but custom code and third-party integrations can impact performance. Core Web Vitals affect both user experience and SEO rankings.

Largest Contentful Paint (LCP)

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

  • Unoptimized images in Zyro templates
  • Custom code blocking render in header
  • Third-party scripts loading synchronously
  • Multiple tracking pixels without GTM
  • Heavy AI-generated content

Target: LCP under 2.5 seconds

Cumulative Layout Shift (CLS)

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

  • Images without dimensions in custom sections
  • Dynamic content loading
  • Custom fonts without font-display
  • Third-party widgets causing shifts
  • Zyro template updates affecting layout

Target: CLS under 0.1

General Performance Best Practices

Template Selection:

  • Use modern Zyro templates
  • Leverage AI website builder for optimized structure
  • Test template performance before committing
  • Consider mobile-first templates

Custom Code Management:

  • Minimize custom JavaScript
  • Use async/defer for all external scripts
  • Consolidate tracking through GTM
  • Remove unused custom code
  • Test code impact on performance

Image Optimization:

  • Use Zyro's image optimization features
  • Compress images before uploading
  • Use appropriate image formats (WebP when possible)
  • Avoid extremely large images
  • Leverage Zyro's CDN

Third-Party Scripts:

  • Use GTM to manage all tracking codes
  • Delay non-critical scripts
  • Remove unused integrations
  • Monitor script impact on load time

For general performance concepts, see the global performance hub.

Tracking & Analytics Issues

Events Not Firing

Common causes of tracking failures on Zyro:

  • Custom code not saved or site not published
  • JavaScript errors in custom code
  • Ad blockers preventing pixel loads
  • Incorrect tracking IDs
  • Code placement issues (header vs. footer)
  • Zyro plan limitations

Common scenarios:

  • GA4 not showing real-time data
  • Meta Pixel shows errors in Pixel Helper
  • GTM tags not firing
  • Events firing multiple times

Tracking Best Practices

Consolidate Through GTM:

  • Install GTM once in header code
  • Add all tracking pixels through GTM
  • Easier to manage and update
  • Better performance
  • Test changes before publishing

Test Thoroughly:

  • Use browser extensions (GTM debugger, Meta Pixel Helper)
  • Test in incognito/private browsing
  • Test across different browsers
  • Test on mobile devices
  • Verify in platform analytics
  • Use debug modes when available

Monitor Continuously:

  • Check analytics platforms weekly
  • Set up custom alerts
  • Monitor data quality
  • Review conversion tracking

For general tracking concepts, see the global tracking hub.

Common Zyro-Specific Issues

Custom Code Not Working

Problem: Code added to Zyro settings doesn't execute.

Common Causes:

  1. Code not saved in settings
  2. Site not published after adding code
  3. JavaScript syntax errors
  4. Code added to wrong location (footer vs header)
  5. Conflicts with existing code

Diagnosis:

  1. Open browser console (F12)
  2. Look for JavaScript errors
  3. Check if code is present in page source
  4. Verify code location in Zyro settings

Fix:

  • Ensure you clicked Save in Website code settings
  • Publish site after making changes
  • Fix JavaScript syntax errors
  • Move code to header if in footer (or vice versa)
  • Wrap code in DOMContentLoaded event listener

Free Plan Limitations

Problem: Cannot add tracking code.

Limitation: Zyro Free plan doesn't allow custom code injection.

Workaround: None - must upgrade to paid plan.

Solution:

  • Upgrade to Unleash, eCommerce, or eCommerce Plus plan
  • Minimum: Unleash plan for custom code access
  • Recommended: eCommerce plan for full features

AI Website Builder Issues

Problem: AI regenerates content and breaks tracking.

Expected Behavior: Zyro's AI may update page structure.

Solution:

  • Use generic selectors that work across variations
  • Avoid targeting specific element IDs
  • Test tracking after AI regenerations
  • Use GTM for more flexible tracking

Template Updates Breaking Code

Problem: Zyro template update changes HTML structure.

Cause: Template updates may modify element classes or structure.

Solution:

  • Test tracking after template updates
  • Use flexible selectors
  • Document all custom code
  • Keep backups of working code

Form Tracking Issues

Problem: Contact form submissions not tracked.

Cause: Zyro forms may submit without clear success indicator.

Solution: Track form submission via event listener:

document.addEventListener('DOMContentLoaded', function() {
  var forms = document.querySelectorAll('form, .zyro-form');

  forms.forEach(function(form) {
    form.addEventListener('submit', function() {
      // Track with GA4
      gtag('event', 'form_submit', {
        form_name: 'contact_form'
      });

      // Track with Meta Pixel
      fbq('track', 'Lead');
    });
  });
});

Mobile vs Desktop Tracking Discrepancies

Problem: Different tracking behavior on mobile vs desktop.

Causes:

  • Mobile browsers handle scripts differently
  • Touch events vs mouse events
  • Mobile ad blockers more aggressive
  • iOS tracking restrictions (ITP)

Solutions:

  • Test thoroughly on mobile devices
  • Use touch events in addition to click events
  • Implement Server-Side Tracking
  • Use Google Consent Mode for iOS compliance

Debugging Tools

Browser Developer Tools

Chrome DevTools (F12):

  • Console: Check for JavaScript errors
  • Network: Verify tracking requests sent
  • Application: Check localStorage, cookies
  • Sources: Debug custom JavaScript

Common Console Checks:

// Check if GA4 loaded
typeof gtag !== 'undefined'

// Check if Meta Pixel loaded
typeof fbq !== 'undefined'

// Check GTM data layer
console.log(dataLayer)

// View all tracking requests
// Filter Network tab by: "collect", "fbevents", "gtm"

Zyro-Specific Tools

View Custom Code:

  1. Right-click on your site
  2. View Page Source (Ctrl+U)
  3. Search (Ctrl+F) for your tracking IDs
  4. Verify code is present and correct

Test Custom Code:

// Add to console to test code snippets
(function() {
  // Your custom code here
})();

Analytics Debugging Tools

Browser Extensions:

Platform Tools:

  • GA4 DebugView (Admin → DebugView)
  • Meta Events Manager Test Events
  • GTM Preview Mode

Performance Testing Tools

Getting Help

Zyro Support Channels

Zyro Help Center:

Zyro Support:

  • Email support for all paid plans
  • Live chat for higher-tier plans
  • Response typically within 24 hours

Zyro Community:

  • User forums
  • Share experiences
  • Get community help

Third-Party Platform Support

For Tracking Issues:

When to Hire a Developer

Consider hiring help when:

  • Complex custom functionality needed
  • Multiple tracking integrations conflicting
  • Advanced e-commerce tracking required
  • Performance issues persist
  • Custom integrations beyond standard tracking
  • Server-side tracking implementation needed

Prevention Best Practices

Documentation

Document Your Setup:

  • List all tracking codes installed
  • Note GTM tags and triggers
  • Record custom code additions
  • Keep tracking ID reference
  • Document custom events

Testing Workflow

Before Adding Code:

  1. Test code in isolated environment
  2. Check for JavaScript errors
  3. Verify syntax is correct
  4. Ensure no conflicts

After Adding Code:

  1. Save settings in Zyro
  2. Publish site
  3. Test in real-time
  4. Check browser console
  5. Verify with debugging tools
  6. Test on mobile device

Monitoring Routine

Weekly:

  • Check analytics platforms for data
  • Verify conversion tracking
  • Review error logs

Monthly:

  • Audit installed tracking codes
  • Remove unused integrations
  • Review performance metrics
  • Update documentation

Quarterly:

  • Full tracking audit
  • Performance optimization review
  • Update tracking implementations
  • Test all conversion paths

Common Error Messages

"gtag is not defined"

Cause: GA4 code not loaded or syntax error.

Fix:

  1. Verify GA4 code is in Header code
  2. Check Measurement ID is correct
  3. Ensure site was published
  4. Check for JavaScript errors blocking load

"fbq is not defined"

Cause: Meta Pixel code not loaded.

Fix:

  1. Verify pixel code is in Header code
  2. Check Pixel ID is correct
  3. Ensure site was published
  4. Test without ad blockers

"dataLayer is not defined"

Cause: GTM container not loaded.

Fix:

  1. Verify GTM code is in Header code
  2. Check Container ID (GTM-XXXXXX)
  3. Ensure site was published
  4. Check for errors blocking GTM

Next Steps

Performance Issues:

Tracking Issues:

Prevention:

  • Document your setup
  • Test before and after changes
  • Monitor regularly
  • Keep tracking codes updated

For general troubleshooting concepts, see the global issues hub.