Skip to content

Commit 7463c8a

Browse files
authored
Integrate PostHog for analytics tracking
Added PostHog tracking script to index.html
1 parent 3d60691 commit 7463c8a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@
3333

3434
<!-- Main JavaScript (ES6 module) -->
3535
<script type="module" src="js/main.js"></script>
36+
37+
<!-- Posthog -->
38+
<script>
39+
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="init capture register register_once register_for_session unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group identify setPersonProperties setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags resetGroups onFeatureFlags addFeatureFlagsHandler onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey getNextSurveyStep".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
40+
posthog.init('phc_QQb6yU96ZZpxnhnO9skm09ZAnelbpwFoYKZJdQHk7mI', {
41+
api_host: 'https://us.i.posthog.com',
42+
defaults: '2026-01-30'
43+
})
44+
</script>
3645
</head>
3746
<body>
3847
<!-- Header / Navigation -->

0 commit comments

Comments
 (0)