Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cevoid.com/llms.txt

Use this file to discover all available pages before exploring further.

The Cevoid Analytics SDK lets you send storefront interaction events directly from the browser. Use it when you want to track widget engagement and purchase conversions on Cevoid-powered experiences.

Choose your setup

Script tag

Add a single CDN script that auto-initializes and exposes window.cevoid.

npm package

Import the SDK into your storefront app and call init() yourself.

React

Import Analytics as CevoidAnalytics and render <CevoidAnalytics /> from the React entry point.

What you can track

Widget events

Track gallery and card events such as widget loads, post clicks, product tag clicks, and impressions.

Event reference

Look up the exact payload fields and accepted values for each event name.

Sales

Track storefront conversions and connect them back to your Cevoid analytics.

Integration modes

The SDK currently supports three public integration paths:
  • @cevoid/analytics-sdk for direct browser or storefront integrations
  • @cevoid/analytics-sdk/react for React applications
  • https://cdn.cevoid.com/analytics/v1/script.js for script-tag installs
The script-tag integration auto-initializes and exposes these methods on window.cevoid:
  • init
  • reset
  • identify
  • trackEvent
  • trackSale
If you need package imports or typed subpath exports, use the npm package instead of the script global.
  1. Pick your installation method on Installation.
  2. Initialize the SDK with your publishableKey.
  3. Add tracking calls from Tracking Events.
  4. Review How It Works before turning on session tracking in production.