Track an event in your Experience App. This is used to track how conversations are happening within the experience.
The method accepts a single event or an array of events. The order of the array is the order they are tracked in.
Use the more specific trackExperiencePageview and trackExperienceEvent following our proposed scheme for future reporting support.
Currently, the events aren't visualized in the Online-Platform but can be exported through Showpad's Content Reporting/Exports API or Powertools.
Events logged with this method end up in de events table with type experience-tracked-event
import { Showpad } from '@showpad/experience-app-sdk'const event = { id: '<eventId>', sourceId: '<sourceId>', destinationId: '<destinationId>'}await Showpad.trackEvent(event) Copy
import { Showpad } from '@showpad/experience-app-sdk'const event = { id: '<eventId>', sourceId: '<sourceId>', destinationId: '<destinationId>'}await Showpad.trackEvent(event)
Generated using TypeDoc
Track an event in your Experience App. This is used to track how conversations are happening within the experience.
The method accepts a single event or an array of events. The order of the array is the order they are tracked in.
Use the more specific trackExperiencePageview and trackExperienceEvent following our proposed scheme for future reporting support.
Currently, the events aren't visualized in the Online-Platform but can be exported through Showpad's Content Reporting/Exports API or Powertools.
Events logged with this method end up in de events table with type experience-tracked-event
Example