Date of slack thread: 5/10/24
Anonymous: Hello. We are facing a scenario on our checkout where we trigger statsig event as soon as we get payment confirmation from our service. Upon successful response, we redirect user to order confirmation screen; but before that we clear checkout details from our client side store. In few scenarios, we get empty values in our event meta as statsig event had fired with meta from those details it got cleared since event was awaited. Any approach we could use to keep the track for each event without losing meta? Could we fire event without awaiting it?
Vijaye (Statsig): The bot is right. What I’d recommend is capture all the metadata in a local object. Then use that object to log the data to statsig and then clear your fields.
Anonymous: What if we don’t want to store the data? Any way we could bypass statsig await?