humanbehavior-js
Version:
SDK for HumanBehavior session and event recording
26 lines (23 loc) • 868 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HumanBehavior Simple Demo</title>
</head>
<body>
<h1>HumanBehavior Tracker Demo</h1>
<p>This page initializes the HumanBehavior tracker. Check the console for status.</p>
<button>Click me to test recording</button>
<input type="text" placeholder="Type something">
<input type="password" placeholder="Password (will be redacted)">
<script src="./dist/index.min.js"></script>
<script>
// Initialize the tracker
const tracker = HumanBehaviorTracker.init('13c3e029-ca45-4a3c-a33b-f5dcb297e31c', {
redactFields: ['input[type="password"]']
});
console.log('HumanBehavior tracker initialized:', tracker);
</script>
</body>
</html>