- React / Next.js
- Other Frameworks
import { VeltViewAnalytics } from '@veltdev/react';
function YourComponent() {
return (
<div className="toolbar">
<VeltViewAnalytics />
</div>
)
}
<!DOCTYPE html>
<html lang="en">
<head>
<title>Collaboration App</title>
<script type="module" src="https://cdn.velt.dev/lib/sdk@latest/velt.js" onload="loadVelt()"></script>
<script>
async function loadVelt() {
await Velt.init("YOUR_VELT_API_KEY");
}
</script>
</head>
<body>
<div className="toolbar">
<velt-view-analytics></velt-view-analytics>
</div>
</body>
</html>
View Analytics
Setup
Was this page helpful?

