danger

You are viewing documentation for an older version.

Click here to view the latest documentation.

JavaScript SDK v1.1

Track event data and send it your specified destinations using the RudderStack JavaScript SDK v1.1.

RudderStack’s JavaScript SDK lets you track customer event data from your website and send it to your specified destinations.

Find the open source code for the JavaScript SDK on GitHub.

Github Badge

See the following guides to learn more about the usage and features of the JavaScript SDK:

GuideDescription
QuickstartGet started on setting up and using the JavaScript SDK.
Load the SDKDetailed steps on loading the JavaScript SDK using different options.
Supported APISupported API calls to track the event data.
Data StorageDetails on the persistent user data stored in cookies and local storage.
Event FilteringMethods to filter events and destinations while sending events.
Version MigrationDetailed steps on migrating the SDK from v1 to v1.1.
OneTrust Consent ManagerDetailed steps on integrating the JavaScript SDK with the OneTrust consent management platform.
Detect Ad-blocked PagesDetect ad-blocked pages using the JavaScript SDK.
EnhancementsDetailed guide on using the Beacon utility to send event payloads using the JavaScript SDK.
FAQCommonly asked questions on the JavaScript SDK and their solutions.

RudderStack also supports integrating the JavaScript SDK with Google Chromecast. You can build the web sender app by following these instructions and adding the JavaScript SDK. See Google Cast developer guide for more details.


Questions? Contact us by email or on Slack