Skip to content

Commit 633baef

Browse files
committed
feat: add anayltics
1 parent e2081db commit 633baef

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# test
22

3+
# Warning!
4+
This site has analytics, if you decide to fork, remove it from [layouts/default.vue](/home/user/code/kfu/KFU-reg.github.io/layouts/default.vue) and
5+
[layouts/error.vue](/home/user/code/kfu/KFU-reg.github.io/layouts/default.vue)!
6+
7+
38
## Build Setup
49

510
```bash

layouts/default.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@
6767
<!-- <v-footer :absolute="!fixed" app>
6868
<span>&copy; {{ new Date().getFullYear() }}</span>
6969
</v-footer> -->
70+
<script data-goatcounter="https://courseoffering.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
7071
</v-app>
72+
7173
</template>
7274

7375
<script>

layouts/error.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
{{ otherError }}
88
</h1>
99
<NuxtLink to="/"> Home page </NuxtLink>
10+
<script data-goatcounter="https://courseoffering.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
1011
</v-app>
1112
</template>
1213

0 commit comments

Comments
 (0)