Skip to content

Commit 23bbcf0

Browse files
committed
feat: Analytics - microanalytics.io instead of Yandex and Google
1 parent 5e19a00 commit 23bbcf0

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

assets/analytics.html

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1-
<!-- Yandex.Metrika counter -->
2-
<script type="text/javascript" >
3-
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
4-
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
5-
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
6-
ym(55703470, "init", {
7-
clickmap:true,
8-
trackLinks:true,
9-
accurateTrackBounce:true
10-
});
11-
</script>
12-
<noscript><div><img src="https://mc.yandex.ru/watch/55703470" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
13-
<!-- /Yandex.Metrika counter -->
14-
15-
<!-- Global site tag (gtag.js) - Google Analytics -->
16-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-149785461-1"></script>
17-
<script>
18-
window.dataLayer = window.dataLayer || [];
19-
function gtag(){dataLayer.push(arguments);}
20-
gtag('js', new Date());
21-
gtag('config', 'UA-149785461-1');
22-
</script>
23-
<!-- Global site tag (gtag.js) - Google Analytics -->
1+
<script
2+
data-host="https://microanalytics.io"
3+
data-dnt="false"
4+
src="https://microanalytics.io/js/script.js"
5+
id="ZwSg9rf6GA"
6+
async
7+
defer
8+
></script>

src/components/Home/Home.styl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.version
2+
font-size 80%
3+
opacity .7
4+
margin 0 auto

src/components/Home/Home.styl.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This file is automatically generated.
2+
// Please do not change this file!
3+
interface CssExports {
4+
'version': string;
5+
}
6+
export const cssExports: CssExports;
7+
export default cssExports;

0 commit comments

Comments
 (0)