Skip to main content

Overview

Advanced embedding features include real-time updates, event handling, programmatic control, and integration with single-page applications. Embeds and badges show the same current status as the public status page, including a stack-scoped override. Dashboard-only overrides stay off embeds. RSS/Atom feeds and public source pages do not apply stack overrides. See Status overrides.

Real-Time Updates

Widgets automatically poll for updates:
Default: 60 seconds Recommendations:
  • Critical services: 30-60 seconds
  • Standard monitoring: 60-120 seconds
  • Low-priority: 300 seconds (5 minutes)

Event Handling

Subscribe to widget events:
Available Events:
  • statusstack:loaded - Widget initialized
  • statusstack:status-changed - Component status changed
  • statusstack:refreshed - Widget data refreshed
  • statusstack:error - Error occurred

SPA Integration

React

Vue

Angular


Programmatic API

Control widgets via JavaScript:

Custom Rendering

Build your own UI with StatusStack data:

Performance Optimization

Lazy Loading

Load widget only when visible:

Caching

Cache widget data:

Security

Content Security Policy

Allow StatusStack in your CSP:

Subresource Integrity

Verify widget script integrity:

Next Steps

Widget Customization

Customize widget appearance