The Mobile Analytics SDK for JavaScript allows JavaScript-enabled applications to create and submit events for analysis in the AWS Console and through Auto Export to S3 and Redshift. The library uses the browser's local storage API to create a local cache for the data, allowing your web application to batch and record events even when the app is offline. You can record monetization events to enable reports such as Average Revenue Per User (ARPU) and more. Additional app and environment details can be added to the "options" object when initializing the SDK. These details will be captured and applied to all events and can be useful if using Auto Export for custom analysis of your data.