Quick Start
Check out how easy it is to integrate our solution to your website!
#
IntegrationThe JavaScript SDK (also compatible with TypeScript) can be added to your website in two equivalent ways:
#
JavaScript tagTo use this SDK, add the tag below on the HTML header of your website. This can be done through a tag management system such as the Google Tag Manager or through your e-commerce platform interface.
#
JavaScript package manager integrationAdd the SDK using npm
or yarn
on your JavaScript project.
Then import the sdk into your project and unstructure the R2U object from the window global object.
#
Getting startedHere's a sample code that will get you up and running with minimal effort. Be sure to check the rest of the documentation for more detailed information.
We also have a Glitch project with a more detailed example. You can check the final result here. Or you can take a look at the code here.