Track Events
Page views are tracked automatically but you can also track custom user events.
Track events using JavaScript
The Howuku JS library is exposed on the global window object called howuku
.
Use the howuku.track()
function to log events for the active user.
Provide the name of the event as first argument. Optionally you can add data to your event by providing an object as second argument. This data can be viewed inside the dashboard.
howuku.track("Played song", {"genre": "hip-hop"});