Skip to content

Commit 92f45b5

Browse files
committed
Anonymize IP in GA
1 parent 7f2a913 commit 92f45b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/tech/httptoolkit/android/HttpToolkitApplication.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class HttpToolkitApplication : Application() {
7979
if (BuildConfig.GA_ID != null) {
8080
analytics = GoogleAnalytics.getInstance(this)
8181
ga = analytics!!.newTracker(BuildConfig.GA_ID)
82+
ga!!.setAnonymizeIp(true)
8283
resumeEvents() // Resume events on app startup, in case they were paused and we crashed
8384
}
8485

0 commit comments

Comments
 (0)