Skip to content

Commit

Permalink
fix(privacy): Remove vue ga script
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed May 27, 2018
1 parent 7c81c88 commit 5ab2879
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/pages/Start.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@
})
},
validateDataRequest () {
console.log('ValidateData')
if (this.packageName !== '' && this.periodStart !== '') {
this.requestData()
}
Expand Down Expand Up @@ -240,25 +239,15 @@
},
setURL () {
history.pushState({ info: `npm-stats ${this.package}` }, this.package, `/#/${this.package}`)
this.$ga.page({
page: `/#/${this.package}`,
title: this.package,
location: window.location.href
})
},
toggleSettings () {
this.showSettings = !this.showSettings
this.$ga.event({
eventCategory: 'Settings',
eventAction: 'toggle'
})
},
setDailyPng (payload) {
this.dailyPng = payload
},
setWeeklyPng (payload) {
this.weeklyPng = payload
console.log('weekly', payload)
},
setMonthlyPng (payload) {
this.monthlyPng = payload
Expand Down

0 comments on commit 5ab2879

Please sign in to comment.