npmpackage coming soon.
</head>tag in your document. The snippet will append a new
<script>tag to the document that will load with the
asyncattribute in order to prevent blocking the rest of the page from being evaluated while the script is being loaded.
YOUR-SITE-IDwith the unique ID of the site you wish to connect to.
LOobject. If you installed using the HTML snippet,
LOwill exist on the top level
windowin the page once the script has loaded.
LOobject, you need to make sure it has loaded. You can use the
readycallback to trigger any code that relies on
identify()API. You can pass in a custom user ID and any arbitrary profile data. This data can then be used as filters throughout the app.
track()API. Events tracked using this API are automatically associated to the active visitor's profile, can be used as Announcement triggers, and act as filters throughout the app.
[LO]prefixed messages to your browser's console. There can potentially be a lot of information, but it will give you a clear picture into what Lucky Orange is currently doing.