Overview
Browser SDK & widget
Collect feedback and track usage from your website with one script tag.
Install
HTML
<script src="https://YOUR-CORVANEOS-HOST/corvane-feedback.js" data-key="atl_pk_..." async></script>Methods
| Method | What it does |
|---|---|
corvane.identify({ id, email, name }) | Tells CorvaneOS who is using your product. |
corvane.track(event, properties) | Records a product event. |
corvane.feedback({ message, rating }) | Sends feedback without opening the widget. |
corvane.open() | Opens the feedback panel. |
Example
JavaScript
corvane.identify({ id: "user_123", email: "ana@acme.com", name: "Ana" });
corvane.track("create_project", { template: "blank" });
corvane.feedback({ message: "Exports are slow on big reports", rating: 3 });Options
Add data-widget="false" to load the SDK without the floating feedback button. The script only works from the domains allowed in your widget settings.