remove the user id and user agent

This commit is contained in:
sfaulds 2016-10-12 16:16:05 +11:00
parent 8f8a9d1b95
commit 58e29e6e41

View file

@ -18,7 +18,7 @@ class GoogleAnalytics():
client_info = clientinfo.ClientInfo()
self.version = client_info.get_version()
self.device_id = client_info.get_device_id()
self.device_name = client_info.get_device_name() + "-" + client_info.get_platform()
self.userAgent = "Emby4Kodi/" + self.version + " (" + client_info.get_platform() + ")"
# Use set user name
self.user_name = settings('username') or settings('connectUsername') or 'None'
@ -71,9 +71,9 @@ class GoogleAnalytics():
#data['aiid'] = '1.1' # App installer ID
data['cid'] = self.device_id # Client ID
data['uid'] = self.user_name # User ID
#data['uid'] = self.user_name # User ID
data['ua'] = self.device_name # user agent string
#data['ua'] = self.userAgent # user agent string
data['t'] = 'event' # action type
data['ec'] = eventCategory # Event Category