Troubleshooting Guide

Common issues and solutions for Plaros embed integration.

Common Issues

Embed Not Loading

Blank iframe or "Page not found" error

Symptoms:

  • Iframe appears but shows blank white page

  • "404 Not Found" error message

  • Loading spinner that never completes

Causes & Solutions:

  1. Incorrect tenant slug

    // ❌ Wrong
    const url = 'https://play.plaros.com/v1/embed/wrong-tenant/playbooks';
    
    // ✅ Correct - check your dashboard account settings
    const url = 'https://play.plaros.com/v1/embed/your-actual-tenant/playbooks';
  2. Invalid zone path

    // Verify zone exists in your dashboard
    url.searchParams.set('zonePath', 'existing-zone-path');
  3. Missing required parameters

    // ❌ Missing zonePath
    const url = new URL('https://play.plaros.com/v1/embed/tenant/playbooks');
    
    // ✅ Include required zonePath
    url.searchParams.set('zonePath', 'your-zone');

CORS or Mixed Content Errors

Symptoms:

  • Browser console shows CORS errors

  • "Mixed content" warnings in HTTPS sites

Solutions:

  1. Ensure HTTPS usage

  2. Content Security Policy (CSP) configuration

Sizing and Display Issues

Embed doesn't fit on mobile

Symptoms:

  • Embed appears too wide on mobile devices

  • Horizontal scrolling required

  • Content cut off on small screens

Solutions:

  1. Use responsive CSS

  2. Set proper viewport meta tag

Incorrect aspect ratio

Symptoms:

  • Embed appears squished or stretched

  • Content doesn't fit properly within iframe

Solutions:

  1. Calculate proper padding-bottom

Analytics and Tracking Issues

User interactions not being tracked

Symptoms:

  • Analytics dashboard shows no data

  • User engagement metrics missing

Solutions:

  1. Verify analytics parameter

  2. Ensure user ID is provided

  3. Check browser privacy settings

    • Some ad blockers may interfere with analytics

    • Private browsing modes may block tracking

    • Test in different browsers

Custom Theming Issues

Custom colors not applied

Symptoms:

  • Embed uses default colors instead of custom ones

  • Theme mode override not working

Solutions:

  1. Remove # from hex colors

  2. Verify valid hex color format

  3. Check theme mode values

Performance Issues

Slow loading times

Symptoms:

  • Embed takes long time to appear

  • Poor user experience on slower connections

Solutions:

  1. Implement lazy loading

  2. Optimize embed placement

Debug Mode

Enable debug mode to troubleshoot issues during development:

Debug mode provides:

  • Detailed console logging

  • Parameter validation messages

  • Load time information

  • Error stack traces

Remember: Always disable debug mode in production!

Browser Compatibility

Supported Browsers

Browser
Minimum Version
Notes

Chrome

60+

Full support

Firefox

55+

Full support

Safari

12+

Full support

Edge

79+

Full support

iOS Safari

12+

Mobile optimized

Chrome Mobile

60+

Mobile optimized

Legacy Browser Issues

Internet Explorer Support

Plaros embeds do not support Internet Explorer. For legacy environments:

Error Handling

Implementing Error Boundaries

React Error Boundary

JavaScript Error Handling

Testing Checklist

Use this checklist to verify your embed implementation:

Basic Functionality

Responsive Design

URL Parameters

Performance

Browser Testing

Error Handling

Getting Help

If you're still experiencing issues after following this guide:

Debug Information to Collect

When reporting issues, please include:

  1. Browser information

  2. Embed configuration

  3. Console errors

    • Screenshots of browser console

    • Network tab errors

    • Any JavaScript exceptions

  4. Steps to reproduce

    • Exact steps that lead to the issue

    • Expected vs actual behavior

    • Frequency of the issue

Contact Support

Useful Resources