Skip to content

Commit 5899651

Browse files
authored
Add zoom-info tracking, remove apollo and koala (#281)
1 parent 40bdd01 commit 5899651

4 files changed

Lines changed: 13 additions & 10 deletions

File tree

docusaurus.config.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,14 @@ const config = {
149149
headTags: [],
150150
scripts: [
151151
{
152-
src: "/freeswitch/scripts/apollo.js",
152+
src: "/freeswitch/scripts/zoomInfo.js",
153153
async: true,
154+
nonce: "SIGNALWIRE_DOCS_CSP_NONCE",
154155
},
155156
{
156157
src: "/freeswitch/scripts/fullstory.js",
157158
async: true,
158159
},
159-
{
160-
src: "/freeswitch/scripts/koala.js",
161-
async: true,
162-
},
163160
{
164161
src: "/freeswitch/scripts/munchkin.js",
165162
async: true,

static/scripts/apollo.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

static/scripts/koala.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/scripts/zoomInfo.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
function initZoomInfo(){
2+
window['ZIProjectKey']='e86bc745611694468564';
3+
var zi=document.createElement('script');
4+
zi.type='text/javascript',
5+
zi.async=!0,
6+
zi.src='https://js.zi-scripts.com/zi-tag.js',
7+
document.readyState==='complete'?document.body.appendChild(zi):window.addEventListener('load',function(){
8+
document.body.appendChild(zi)
9+
})
10+
}
11+
initZoomInfo();

0 commit comments

Comments
 (0)