Skip to content

Commit 573f483

Browse files
authored
Integrate PostHog analytics in index.html
Added PostHog analytics script to index.html
1 parent 309ab7c commit 573f483

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

docs/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
<html lang="en">
33

44
<head>
5+
<script>
6+
!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 || []);
7+
posthog.init('phc_7PV4UCpoaWFx6fpYJx9cr9DjGgOT6zzAwIN5er8MqNb', {
8+
api_host: 'https://us.i.posthog.com',
9+
defaults: '2026-01-30'
10+
})
11+
</script>
512
<meta charset="UTF-8" />
613
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
714
<title>Dev AI Hub — Backstage Plugin</title>
@@ -1260,4 +1267,4 @@ <h2>Ready to centralize your AI assets?</h2>
12601267

12611268
</body>
12621269

1263-
</html>
1270+
</html>

0 commit comments

Comments
 (0)