Summary
The JavaScript tracker release 2.10.0 defaults to Beacon API for sending events.
Beacon API as implemented in Chrome has a bug where requests made with Content-type: application/json
requests raise an exception, and therefore do not send.
Who is affected
You are affected by this issue if you’re using the JavaScript tracker version 2.10.0 and have not set any argmap keys related to event sending methods like post
or eventMethod
.
How to recover
Set eventMethod
to post
in the argmap in version 2.10.0, or upgrade to 2.10.1.
How to avoid this issue
We have addressed this bug in 2.10.1 and, as a result, encourage people to upgrade to this version.