Install the Agent
Install from Our CDN
The easiest way to get started is by including the script from our hosted CDN. We use the same CDN service that hosts jQuery, so it should be reliable and fast. However, you may also feel free to pull the agent script and host/bundle it yourself if you’re extra paranoid (we don’t blame you).
The agent will automatically install when you provide the
data-rm-token attribute. If you prefer to control when the agent initializes, you can install the agent manually.
Note: Manually calling install requires that you know that the agent has loaded, so you won’t be able to load the script asynchronously.
Install from NPM
Then reference the module and install it when initializing your application.