Function that allows you to view the CTR analytics for a dataset.
Example:
const data = await trieve.getAllAnalyticsEvents({ filter: { "date_range": { "gt": "2021-08-10T00:00:00Z", "lt": "2021-08-11T00:00:00Z" }, "event_type": "view", "is_conversion": true, "metadata_filter": "path = \"value\"", "user_id": "user1" },}); Copy
const data = await trieve.getAllAnalyticsEvents({ filter: { "date_range": { "gt": "2021-08-10T00:00:00Z", "lt": "2021-08-11T00:00:00Z" }, "event_type": "view", "is_conversion": true, "metadata_filter": "path = \"value\"", "user_id": "user1" },});
Optional
Function that allows you to view the CTR analytics for a dataset.
Example: