Configuration
Control the behavior of the LogPulse widget using HTML data attributes.
Script Attributes
| Attribute | Description | Default |
|---|---|---|
| data-project-id | The unique ID of your project. Required for the widget to fetch data. | - |
| data-theme | Force 'light' or 'dark' mode. If omitted, respects system preference. | system |
| data-position | Corner position of the launcher. Values: bottom-right, bottom-left. | bottom-right |
Example Usage
<script src="https://logpulse.com/widget.js" data-project-id="YOUR_ID" data-theme="dark" data-position="bottom-left" ></script>