Use this page when you need to callDocumentation Index
Fetch the complete documentation index at: https://docs.cevoid.com/llms.txt
Use this file to discover all available pages before exploring further.
trackEvent() yourself from custom storefront code. If you are using standard Cevoid galleries or cards, do not start here. Those widget surfaces already emit the core Cevoid UGC events automatically.
For payload-by-payload reference, use SDK API and Event Types.
When to use trackEvent()
Use trackEvent() when:
- you render Cevoid interactions in your own storefront UI
- you need to manually mirror Cevoid widget-style actions from custom code
- you want those custom interactions to follow the supported Cevoid event names
trackEvent() just to forward standard gallery or card events into GA or GTM. In that case, use Forward Browser Events to GA.
1. Initialize the SDK
Initialize the SDK once before the first tracking call.- trigger one manual call in the browser
- confirm your handler runs without an initialization error
- if browser events are enabled, confirm a matching
cevoid:<event-name>CustomEvent fires onwindow
2. Send supported event names
Send the exact dotted Cevoid event name that matches the UI action.- widget lifecycle:
widget.load,widget.view - post interactions:
post.view,post.click,post.view.popup,post.clap - product interactions:
product.click.tag,product.click.post,product.click.card - gallery actions:
gallery.load_more,gallery.upload_cta_click
3. Use real Cevoid IDs
Pass the real Cevoid identifiers from the rendered experience:widgetIdpostIdproductIdmarketIdwhen relevant
4. Keep payload details in the reference pages
Use the reference pages for accepted values and field requirements:Common mistakes
- calling
trackEvent()beforeinit() - using manual tracking for standard Cevoid galleries or cards when the events are already emitted automatically
- using the wrong event name for the actual UI surface
- omitting required Cevoid IDs