Pricing
Log in

JavaScript SDK Integration

by RudderStack

SourceEvent Stream

JavaScript SDK Integration

by RudderStack

SourceEvent Stream
Frequently Asked Questions

The RudderStack JavaScript API makes it easy for you to send your customer event data from your website to any destination in no time. After integrating this SDK, you will also be able to connect your website to multiple destinations such as Google Analytics, Hotjar, Amplitude, and more, to send your event data in real-time.

To load analytics.js correctly, copy either the minified or non-minified version of the code given in our documentation. To test if the library is loaded correctly, open the JavaScript console on your browser and run this command: rudderanalytics. If the command returns an object, the library is loaded successfully. If not, please verify if you have set up rudderanalytics.js correctly.

The different key methods used in the JavaScript SDK APIs are load(), identify(), page(), track(), alias(). While the load() method is used to load rudder-analytics.js on your website, the other API calls are used to get information related to the user and their actions on the website.

RudderStack JavaScript SDK Documentation

Refer to our step-by-step guide and start using the ReactNative SDK today

Customer Data Platform for Developers | RudderStack
HIPPA Compliant
SOC 2 TYPE 2Users love RudderStack on G2