Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
fix(analytics): set correct page path
Browse files Browse the repository at this point in the history
  • Loading branch information
VChet committed Oct 10, 2020
1 parent 4b31241 commit a075166
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ export default {
}
},
mounted() {
this.$gtag.pageview({
page_path: '/'
});
this.$gtag.pageview({ page_path: window.location.pathname });
},
methods: {
openNavLink(navLink) {
Expand Down

0 comments on commit a075166

Please sign in to comment.