Pricing
Log in

JavaScript SDK Integration

by RudderStack

RudderStack’s open-source JavaScript SDK lets you start sending event data from your website to a wide range of common, popular marketing, sales, and product tools such as Amplitude, Google Analytics, and more, without having to test or implement a new API every single time.

SourceEvent Stream

JavaScript SDK Integration

by RudderStack

RudderStack’s open-source JavaScript SDK lets you start sending event data from your website to a wide range of common, popular marketing, sales, and product tools such as Amplitude, Google Analytics, and more, without having to test or implement a new API every single time.

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 JavaScript SDK today

COMPANY

  • About
  • Contact us
  • Partner with us
  • 🚀 We’re hiring!
  • Privacy policy
  • Terms of service

JOIN THE CONVERSATION

Learn more about the product and how other engineers are building their customer data pipelines.

Join our Slack Community

READ OUR DOCUMENTATION

Technical documentation on using RudderStack to collect, route and manage your event data securely.

Go to Docs

© RudderStack Inc.

This site uses cookies to improve your experience. If you want to learn more about cookies and why we use them, visit our cookie policy. We’ll assume you’re ok with this, but you can opt-out if you wish cookie settings.