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

Commit

Permalink
Merge pull request #411 from 3box/ref/off-analytics-events
Browse files Browse the repository at this point in the history
ref: turnoff some analytics events
  • Loading branch information
zachferland authored Jul 17, 2020
2 parents 3c21348 + e9d35a6 commit dbebb24
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,19 @@ class Analytics {

// backwards compatible, pindb for dbs with address links not in rootstore
trackPinDBAddress (address) {
const data = {}
data.event = 'pin_db_address'
data.properties = { address_hash: hash(address) }
this._track(data, hash(address))
// Temporary
// const data = {}
// data.event = 'pin_db_address'
// data.properties = { address_hash: hash(address) }
// this._track(data, hash(address))
}

trackSyncDB (odbAddress) {
const data = {}
data.event = 'sync_db'
data.properties = { address: odbAddress }
this._track(data)
// Temporary
// const data = {}
// data.event = 'sync_db'
// data.properties = { address: odbAddress }
// this._track(data)
}

trackInfraMetrics () {
Expand Down

0 comments on commit dbebb24

Please sign in to comment.