This is either a question or a feature request. Is there any way to send an idempotency key with track events? it’d be something like:
client.track(BaseEvent(
…,
idempotency_key=’abc123’
))
For example, here’s how this is handled in the Stripe API: https://stripe.com/docs/api/idempotent_requests
I would like to do this for backend events that risk getting triggered twice. For example during a checkout there might be both an API request from the client directly to the backend and a webhook from Stripe, which both signify that the checkout was a success and instead of adding conditional extra logic on my side whether or not to send the event, it’d be easiest and the most robust to just pass an idempotency key.