π οΈIntegration of Experiences via Creator (Javascript Package)
Integration Steps:
Please follow the below steps to integrate the Creator Javascript Package on your website
Create an html element with a specific id attribute.
Example :
Once the element is created, add the following script to your webpage to import the javascript package provided by Avataar.
Post importing the package, add the following code snippet to your script tag providing the details (config URL and auth token)of any particular SKU you want to render. Your CMS will share the process to get the config URL.
References :
HTML-ELEMENT-ID -> Where do you want to render experience CONFIG-URL -> your experience config url
TOKEN -> your token
Env -> Production
onScrollProgress -> a callback function that returns how much the scroll experience has been evolved.
Sample :
Use the config URL and token from the below example for testing:
Please refer to the above sample code to easily integrate our experience into your webpage.
Last updated