Last updated 2 months ago
Log a website pageview. Used for website analytics.
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api-metrics/website/pageviews', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "sessionId": "text", "pageUrl": "text" }), }); const data = await response.json();
{ "success": false, "error": "text" }