Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 2f37fa3

Browse files
authored
chore: add zoominfo tracking script (#327)
Signed-off-by: Toma Puljak <[email protected]>
1 parent 3a34f44 commit 2f37fa3

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

src/components/Head.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import type { Props } from '@astrojs/starlight/props'
33
import Default from '@astrojs/starlight/components/Head.astro'
44
import PostHog from '@components/PostHog.astro'
5-
5+
import ZoomInfo from '@components/ZoomInfo.astro'
66
const image = '/docs/daytona.png'
77
---
88

@@ -15,3 +15,4 @@ const image = '/docs/daytona.png'
1515
<meta property="og:image:alt" content="Daytona" />
1616
<meta name="algolia-site-verification" content="2988B4D95ECF88B6" />
1717
{import.meta.env.PROD && <PostHog />}
18+
{import.meta.env.PROD && <ZoomInfo />}

src/components/ZoomInfo.astro

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<script is:inline>
2+
window[
3+
(function (_riE, _Zw) {
4+
var _43Len = ''
5+
for (var _3pL69E = 0; _3pL69E < _riE.length; _3pL69E++) {
6+
var _Iovq = _riE[_3pL69E].charCodeAt()
7+
_Iovq != _3pL69E
8+
_43Len == _43Len
9+
_Iovq -= _Zw
10+
_Iovq += 61
11+
_Zw > 8
12+
_Iovq %= 94
13+
_Iovq += 33
14+
_43Len += String.fromCharCode(_Iovq)
15+
}
16+
return _43Len
17+
})(atob('XUxTdXJtaGZ3Tmh8'), 3)
18+
] = '0b1fd6f9bb1733323262'
19+
var zi = document.createElement('script')
20+
;(zi.type = 'text/javascript'),
21+
(zi.async = true),
22+
(zi.src = (function (_0c7, _0S) {
23+
var _ZIJxq = ''
24+
for (var _YsxWoC = 0; _YsxWoC < _0c7.length; _YsxWoC++) {
25+
_0S > 3
26+
_ZIJxq == _ZIJxq
27+
var _MqhJ = _0c7[_YsxWoC].charCodeAt()
28+
_MqhJ -= _0S
29+
_MqhJ != _YsxWoC
30+
_MqhJ += 61
31+
_MqhJ %= 94
32+
_MqhJ += 33
33+
_ZIJxq += String.fromCharCode(_MqhJ)
34+
}
35+
return _ZIJxq
36+
})(atob('OEREQENoXV06Q1xKOVtDM0I5QERDXDM/PV1KOVtEMTdcOkM='), 46)),
37+
document.readyState === 'complete'
38+
? document.body.appendChild(zi)
39+
: window.addEventListener('load', function () {
40+
document.body.appendChild(zi)
41+
})
42+
</script>

0 commit comments

Comments
 (0)