Skip to content

Commit 6d40aa8

Browse files
committed
add usersnap
1 parent 0daea55 commit 6d40aa8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

index.html

+10-7
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@
1313
<!-- viewer controls - vr teleport -->
1414
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/aframe-blink-controls.min.js"></script>
1515

16-
<!-- posthog -->
17-
<!-- <script>
18-
!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 = "capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys onSessionId".split(" "), n = 0; n < o.length; n++)g(u, o[n]); e._i.push([i, s, a]) }, e.__SV = 1) }(document, window.posthog || []);
19-
posthog.init('phc_Yclai3qykyFi8AEFOrZsh6aS78SSooLzpDz9wQ9YAH9', {
20-
api_host: 'https://us.i.posthog.com', person_profiles: 'identified_only' // or 'always' to create profiles for anonymous users as well
21-
})
22-
</script> -->
16+
<!-- usersnap -->
17+
<script>
18+
window.onUsersnapLoad = function(api) {
19+
api.init();
20+
};
21+
var script = document.createElement('script');
22+
script.defer = 1;
23+
script.src = 'https://widget.usersnap.com/global/load/07006ba2-73d0-4242-8e4b-47bdb559e20d?onload=onUsersnapLoad';
24+
document.getElementsByTagName('head')[0].appendChild(script);
25+
</script>
2326

2427
<title>3DStreet</title>
2528
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

0 commit comments

Comments
 (0)