Skip to content

Commit

Permalink
Merge pull request #4 from ArthusLiang/fix
Browse files Browse the repository at this point in the history
feat(console):ga
  • Loading branch information
ArthusLiang authored Apr 24, 2024
2 parents 4cc2c77 + 01b8d5c commit a4240fd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@
<meta name="msapplication-square150x150logo" content="assets/favicon/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="assets/favicon/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="assets/favicon/mstile-310x310.png" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YCZTNRQM36"></script>
<script>
if(location.href.indexOf('momentum.design')!==-1) {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YCZTNRQM36');
} else {
console.log('NO ONLINE MODE');
}
</script>
</head>
<body>
<app-root></app-root>
Expand Down
1 change: 0 additions & 1 deletion src/lib/footer/footer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export class FooterComponent {
external: isExternal
}
}).sort();
console.log(this.momentum_links)
}

}

0 comments on commit a4240fd

Please sign in to comment.