Use this guide when you want to start sending widget interaction events from your storefront. This covers the setup flow and where to place event calls. For the full payload reference, use Tracking Events.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.
Before you start
Make sure you have:- Installed the SDK from Installation
- A valid Cevoid
publishableKey - Access to the widget IDs and post or product IDs you want to track
1. Initialize the SDK
Initialize the SDK once before any tracking call runs.If you use React, import
Analytics as CevoidAnalytics and render <CevoidAnalytics /> once near the top of your app instead of calling init() manually.2. Track widget lifecycle events
Track when a widget loads and when it becomes visible. This gives you a baseline for impressions and engagement rates.widget.loadwhen Cevoid has loaded content into the widgetwidget.viewwhen the widget enters the shopper’s viewport
3. Track post interactions
Track the post-level actions that matter in your storefront experience.post.view.popuppost.clap
taggedProductIds when that data is available.
4. Track product clicks
When a shopper clicks through to a product from Cevoid content, send a product click event.product.click.postproduct.click.card
5. Track gallery-specific actions
If your gallery supports pagination or upload CTAs, track those interactions too.loadMoreType values:
buttoninfinity_loader
Recommended implementation pattern
- Initialize the SDK once
- Trigger event calls where the actual shopper interaction happens
- Pass the real Cevoid IDs from the rendered widget data, not derived labels
- Keep event names stable and use the exact dotted names expected by the SDK
Common mistakes
- Calling
trackEvent()beforeinit() - Using the wrong event name for the UI surface
- Omitting required IDs such as
widgetId,postId, orproductId