-
Notifications
You must be signed in to change notification settings - Fork 22
Getting started
Mohamad Zabad edited this page Nov 27, 2019
·
7 revisions
-
Get the latest build here. You probably want to use r7insight.min.js in production.
-
Include the library in your page:
<html lang="en">
<head>
<title>your page</title>
<script src="/js/r7insight.min.js"></script>
<script>
// Set up r7insight.js
R7Insight.init({token:'YOUR-LOG-TOKEN', region: 'YOUR INSIGHT PLATFORM REGION (e.g. us)'});
</script>
</head>
...
- Log some events!
...
<script>
// log something
R7Insight.log("Hello, logger!");
</script>
- Check out the API for more details.
Need a token? Start your free trial if you don't already have an account.