Skip to content

Commit

Permalink
chore: remove Hotjar script
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Nov 4, 2023
1 parent d014b54 commit 42f836a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/core/startup.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export class StartupService {
};
Promise.all([
this.lazy.loadScript(`./assets/highlight.pack.js`),
this.lazy.loadScript(`https://www.googletagmanager.com/gtag/js?id=UA-120202005-1`),
this.lazy.loadScript(`https://static.hotjar.com/c/hotjar-${win._hjSettings.hjid}.js?sv=${win._hjSettings.hjsv}`)
this.lazy.loadScript(`https://www.googletagmanager.com/gtag/js?id=UA-120202005-1`)
// this.lazy.loadScript(`https://static.hotjar.com/c/hotjar-${win._hjSettings.hjid}.js?sv=${win._hjSettings.hjsv}`)
]).then(() => {
const dataLayer: NzSafeAny[] = win.dataLayer || [];
dataLayer.push(['js', new Date()]);
Expand Down
4 changes: 0 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,10 @@
<link rel="preconnect" href="https://img.alicdn.com" crossorigin="anonymous">
<link rel="preconnect" href="https://dummyimage.com" crossorigin="anonymous">
<link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin="anonymous">
<link rel="preconnect" href="https://vars.hotjar.com">
<link rel="preconnect" href="https://script.hotjar.com">
<link rel="preconnect" href="https://www.google-analytics.com">
<link rel="dns-prefetch" href="https://www.google-analytics.com">
<link rel="preconnect" href="https://cdn.jsdelivr.net">
<link rel="preconnect" href="https://api.github.com">
<link rel="preload" href="https://script.hotjar.com/font-hotjar_5.65042d.woff2" as="font" type="font/woff2" crossorigin>
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="translucent">
Expand All @@ -43,7 +40,6 @@
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1536">

<link rel="shortcut icon" href="./assets/img/logo-color.png">
<link rel="icon" type="image/x-icon" href="./assets/img/logo-color.png">
<link rel="apple-touch-icon" sizes="144x144" href="./assets/img/logo-color.png">
Expand Down

0 comments on commit 42f836a

Please sign in to comment.