summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-21 21:18:30 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-21 21:18:30 +0100
commitee6f2f0a8ebdeede68b6768e1d75d047ec2c50de (patch)
treec6eb6056e54d51dce33c46cd28b1cc920f144dde /application
parent95f961fb6102f782482c057f51dae8ae8aed966c (diff)
downloadMultiMC-ee6f2f0a8ebdeede68b6768e1d75d047ec2c50de.tar
MultiMC-ee6f2f0a8ebdeede68b6768e1d75d047ec2c50de.tar.gz
MultiMC-ee6f2f0a8ebdeede68b6768e1d75d047ec2c50de.tar.lz
MultiMC-ee6f2f0a8ebdeede68b6768e1d75d047ec2c50de.tar.xz
MultiMC-ee6f2f0a8ebdeede68b6768e1d75d047ec2c50de.zip
NOISSUE implement analytics IP anonymization
Diffstat (limited to 'application')
-rw-r--r--application/MultiMC.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp
index c3ab7827..49e45c41 100644
--- a/application/MultiMC.cpp
+++ b/application/MultiMC.cpp
@@ -527,6 +527,7 @@ void MultiMC::initAnalytics()
}
m_analytics = new GAnalytics(BuildConfig.ANALYTICS_ID, clientID, this);
m_analytics->setLogLevel(GAnalytics::Debug);
+ m_analytics->setAnonymizeIPs(true);
m_analytics->setNetworkAccessManager(&ENV.qnam());
m_analytics->startSending();
qDebug() << "Initialized analytics with tid" << BuildConfig.ANALYTICS_ID << "and cid" << clientID;