Skip to content

Commit

Permalink
feat: add anayltics
Browse files Browse the repository at this point in the history
  • Loading branch information
stadial committed Mar 15, 2022
1 parent e2081db commit 633baef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# test

# Warning!
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
[layouts/error.vue](/home/user/code/kfu/KFU-reg.github.io/layouts/default.vue)!


## Build Setup

```bash
Expand Down
2 changes: 2 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
<!-- <v-footer :absolute="!fixed" app>
<span>&copy; {{ new Date().getFullYear() }}</span>
</v-footer> -->
<script data-goatcounter="https://courseoffering.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
</v-app>

</template>

<script>
Expand Down
1 change: 1 addition & 0 deletions layouts/error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{{ otherError }}
</h1>
<NuxtLink to="/"> Home page </NuxtLink>
<script data-goatcounter="https://courseoffering.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
</v-app>
</template>

Expand Down

0 comments on commit 633baef

Please sign in to comment.