# JavaScript SDK [![GitHub Repo](https://img.shields.io/badge/GitHub-Krenalis_JavaScript_SDK-blue?logo=github)](https://github.com/krenalis/analytics-javascript) Use the JavaScript SDK to integrate event tracking and data analytics into your web application. The SDK lets you send tracking data to your data warehouse and multiple analytics tools through a single interface, so you don't need separate integrations. This integration simplifies implementation, enabling teams to gain comprehensive insights into user behavior and optimize their applications with ease. ### Key features * **Track user interactions:** Record user interactions such as clicks, page views, and custom events within your application. * **Connect to analytics tools:** Send tracked data to various analytics tools like Google Analytics, Mixpanel, and others. * **Manage data easily:** Decide which data goes to which analytics tools, making it simple to organize and change tools later. * **User data extraction:** Retrieve user traits from tracked events and load them into the data warehouse, where they are unified through Krenalis's identity resolution. * **Lightweight:** No external dependencies and only **16 kB** (compressed), reducing network overhead. * **Compatible** with the Segment and RudderStack SDKs. ## Guides | Guide | What will you learn? | |--------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------| | [Start collecting events](https://www.krenalis.com/docs/collect-events/websites.md) | How to install the SDK on your website or import it into your web application to collect events. | | [Start collecting user data](https://www.krenalis.com/docs/ingest-users/websites.md) | How to install the SDK on your website or import it into your web application to collect user data. | | [Options](https://www.krenalis.com/docs/integrations/javascript-sdk/javascript-sdk/options.md) | The available options when installing the SDK. | | [Methods of the SDK](https://www.krenalis.com/docs/integrations/javascript-sdk/javascript-sdk/methods.md) | The methods of the SDK, including the methods to send events. | | [Storage locations](https://www.krenalis.com/docs/integrations/javascript-sdk/javascript-sdk/storage-locations.md) | Where the users' data is stored and how to manage its storage location. | | [Querystring API](https://www.krenalis.com/docs/integrations/javascript-sdk/javascript-sdk/querystring-api.md) | How to activate `identify` and `track` events using the URL query string. | | [FAQ](https://www.krenalis.com/docs/integrations/javascript-sdk/javascript-sdk/faq.md) | Frequently Asked Questions about the JavaScript SDK. | ## Minimum supported browsers Here is a list of the minimum browser versions required to run the JavaScript SDK: * Chrome 23 * Edge 80 * Safari 7 * Firefox 21 * Opera 14 * IE 11 ## SDK source code The source code of the Krenalis JavaScript SDK is [available on GitHub](https://github.com/krenalis/analytics-javascript) and distributed under the **MIT license**.