[IMPORTANT ALERT] Snowplow JavaScript Tracker 2.10.0 and 2.10.1 issue

Summary

In JavaScript tracker release 2.10.0 and 2.10.1, there’s a report that events won’t get removed from localStorage when using Beacon API because removing from the event queue is tied to XMLHttpRequest.onreadystatechange.

Who is affected

You are affected by this issue if you’re using the Beacon API in JavaScript tracker version 2.10.0 or 2.10.1. This is the case if you have either manually set eventMethod to beacon or have not set eventMethod.

How to recover

Set eventMethod to post in the argmap in version 2.10.0 or 2.10.1, or upgrade to 2.10.2.

How to avoid this issue

We have addressed this bug in 2.10.2 and, as a result, encourage people to upgrade to this version.