lotus.trackEvent({
event_name: "test", // required
time_created: new Date(), // optional, if not provided current time will be taken
customer_id: "cust_5894767364aa4e64", // required
properties: { test: "test", numericQuantity: 3.1415 }, //optional, pass in any additional properties you want to aggregate or measure
idempotency_id: "c2c5eb5d-de4b-44e0", //optional if not provided Randomly generated ID will be taken
});
lotus.trackEvent({
batch: [
{
event_name: "test", // required
time_created: new Date(), // optional, if not provided current time will be taken
customer_id: "cust_5894767364aa4e64", // required
properties: { test: "test", numericQuantity: 3.1415 }, //optional, pass in any additional properties you want to aggregate or measure
idempotency_id: "c2c5eb5d-de4b-44e0", //optional if not provided Randomly generated ID will be taken
},
],
});