-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d5e79c
commit e1e109f
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<html> | ||
|
||
<head> | ||
<!-- COPY AND PASTE FROM `dist/array.full.e5.js` TO TEST THIS --> | ||
<script> | ||
</script> | ||
|
||
<script> | ||
posthog.init('BrpS4SctoaCCsyjlnlun3OzyNJAafdlv__jUWaaJWXg', { api_host: 'https://us.posthog.com', debug: true }) | ||
posthog.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 `posthog.something` to check if listeners were properly added to the window/document | ||
object, such as `posthog.scrollManager.scrollX()` | ||
</div> | ||
</body> | ||
|
||
</html> |