Skip to content

Commit

Permalink
Add Insight Tag for website analytics
Browse files Browse the repository at this point in the history
GA4 has been disconnected
  • Loading branch information
xuelink committed Apr 13, 2024
1 parent 1fbaa64 commit 17d8ca0
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,15 @@

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DJGSVHN3CW"></script>
<!-- Insight Tag (tracker.js) -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'G-DJGSVHN3CW');
(function () {
window.counterscale = {
q: [['set', 'siteId', 'website'], ['trackPageview']]
};
})();
</script>
<script id="counterscale-script" src="https://insight.langx.io/tracker.js" defer></script>

%sveltekit.head%
</head>
Expand Down

0 comments on commit 17d8ca0

Please sign in to comment.