Skip to content

Commit 5ab2879

Browse files
committed
fix(privacy): Remove vue ga script
1 parent 7c81c88 commit 5ab2879

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/pages/Start.vue

-11
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@
210210
})
211211
},
212212
validateDataRequest () {
213-
console.log('ValidateData')
214213
if (this.packageName !== '' && this.periodStart !== '') {
215214
this.requestData()
216215
}
@@ -240,25 +239,15 @@
240239
},
241240
setURL () {
242241
history.pushState({ info: `npm-stats ${this.package}` }, this.package, `/#/${this.package}`)
243-
this.$ga.page({
244-
page: `/#/${this.package}`,
245-
title: this.package,
246-
location: window.location.href
247-
})
248242
},
249243
toggleSettings () {
250244
this.showSettings = !this.showSettings
251-
this.$ga.event({
252-
eventCategory: 'Settings',
253-
eventAction: 'toggle'
254-
})
255245
},
256246
setDailyPng (payload) {
257247
this.dailyPng = payload
258248
},
259249
setWeeklyPng (payload) {
260250
this.weeklyPng = payload
261-
console.log('weekly', payload)
262251
},
263252
setMonthlyPng (payload) {
264253
this.monthlyPng = payload

0 commit comments

Comments
 (0)