Skip to content
Chris Mowforth edited this page Sep 25, 2013 · 5 revisions
  • Get the latest build here. You probably want to use le.min.js in production.

  • Include the library in your page:

<html lang="en">
  <head>
    <title>your page</title>
    <script src="/js/le.min.js"></script>
    <script>
      // Set up le.js
      LE.init('YOUR-LOG-TOKEN');
    </script>
  </head>
  ...
  • Log some events!
...
<script>
  // log something
  LE.log("Hello, logger!");
</script>
  • Check out the API for more details.

Need a token? Get a free account if you don't already have one.

Clone this wiki locally