mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-11-03 00:53:53 +00:00
Bulk rename across 989 files: - Package names: posthog-js → @hanzo/insights, posthog-node → @hanzo/insights-node, etc. - Repository URLs: posthog/posthog-js → hanzoai/insights-js - Brand names: PostHog → Insights - File renames: 259 reference JSON files, source files, workflow files - Directory rename: eslint-plugin-posthog-js → eslint-plugin-insights Remaining: 8 refs to @posthog/rrweb-* (real npm deps, need fork+publish)
25 lines
651 B
HTML
25 lines
651 B
HTML
<html>
|
|
|
|
<head>
|
|
<!-- COPY AND PASTE FROM `dist/array.full.e5.js` TO TEST THIS -->
|
|
<script>
|
|
</script>
|
|
|
|
<script>
|
|
insights.init('BrpS4SctoaCCsyjlnlun3OzyNJAafdlv__jUWaaJWXg', { api_host: 'https://us.insights.hanzo.ai', debug: true })
|
|
insights.capture("e5 event")
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>This page triggers a simple event using E5 bundle</h1>
|
|
<div>
|
|
Did it work? Check console
|
|
</div>
|
|
<div>
|
|
You can also look at `insights.something` to check if listeners were properly added to the window/document
|
|
object, such as `insights.scrollManager.scrollX()`
|
|
</div>
|
|
</body>
|
|
|
|
</html> |