I was debugging a problem where we had events marked as correctly sent in the visual debugger as well as in the console. As you can see on the screenshots, I get a validation for "Checkout step started". However, the event was never correctly sent via the Snowplow Interface because of an timing issue, where the Interface wasn't initialized fast enough before the first event.
The code in Avo.ts first logs the event as sent correctly, before actually trying to send it via
trackSelfDescribingEvent
. This should be handled differently, so we can be sure, that a event was actually successful.