Function that allows you to send analytics events to the system.
Example:
const data = await trieve.sendAnalyticsEvent({ event_type: "view",metadata: { "test": "test"},user_id: "user1"}); Copy
const data = await trieve.sendAnalyticsEvent({ event_type: "view",metadata: { "test": "test"},user_id: "user1"});
Optional
Function that allows you to send analytics events to the system.
Example: