Skip to content

Commit

Permalink
feat: Add demo file for IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeelaudibert committed Jan 27, 2025
1 parent 0d5e79c commit e1e109f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions playground/ie11/index.html
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>

0 comments on commit e1e109f

Please sign in to comment.