Learn about all available parameters to customize your Plaros embeds.
Base URL Structure
All Plaros embeds use this URL pattern:
https://play.plaros.com/v1/embed/{tenantSlug}/playbooks?{parameters}
Required Parameters
zonePath (required)
The zone path from your Plaros dashboard that contains the playbooks you want to embed.
?zonePath=learning-hub
How to find your zone path:
Go to your Plaros dashboard
Copy the path from your desired zone
Optional Parameters
Playbook Selection
playbookId (optional)
Display a specific playbook instead of random selection.
Default behavior: When omitted, a random playbook from the zone is selected for each visitor.
User Identification
userId (optional)
Identify users for personalized experiences and analytics.
Anonymous users: When omitted, anonymous user IDs are automatically generated.
Analytics & Debugging
analytics (optional)
Enable or disable analytics tracking.
debug (optional)
Enable debug mode for development and troubleshooting.
⚠️ Important: Always disable debug mode in production environments.
Theme Customization
primaryColor (optional)
Override the primary theme color.
Type: string (hex color without #)
Default: Your tenant's default primary color
secondaryColor (optional)
Override the secondary theme color.
Type: string (hex color without #)
Default: Your tenant's default secondary color
themeMode (optional)
Force a specific theme mode.
Default: User's system preference
Complete Parameter Reference
Parameter
Type
Default
Description
Zone path containing playbooks
Specific playbook ID to display
User identifier for analytics
Enable/disable analytics tracking
Enable debug mode with console logs
Primary theme color (hex without #)
Secondary theme color (hex without #)
Force theme mode: light or dark
Specific Playbook with User Tracking
Custom Themed Embed
Development/Debug Mode
Building URLs Programmatically
JavaScript Example
Parameter Validation
Must be valid hex colors (3 or 6 characters)
Do not include the # symbol in URL parameters
Examples: FF6B35, 004E89, F00, 0A8
Theme Mode Values
Only light and dark are supported
Case sensitive (use lowercase)
Use string representations: 'true' or 'false'
Any non-'true' value is treated as false
Learn about Custom Theming for advanced branding options
See Integration Examples for framework-specific implementations
Check Troubleshooting if you encounter issues with parameters