I’ve done three things (which may be redundant)
- Within Unifi Controller Software (web gui) Settings->Controller Turned off Analytics & Improvements
- Router Block (I use pfsense so modify to your router brand)
Created alias Unifi_Phone_Home trace.svc.ui.com
Firewall->Rules->Floating - Block Protocol All, Source *, Port *, Destination Unifi_Phone_Home, Port *, Gateway * - Modified config on Controller Device - Source (https://community.ui.com/questions/UniFi-Analytics-cannot-be-disabled-whatsoever/300f6fed-118e-4cd9-9a47-d399c53483f9?page=1)
Depending on what your using as your controller (ie Linux, Windows, CloudKey) - note that the base directory is going to differ (https://help.ubnt.com/hc/en-us/articles/115004872967):
- UniFi Cloud Key: /usr/lib/unifi
- Debian/Ubuntu Linux: /usr/lib/unifi
- Windows: %userprofile%/Ubiquiti UniFi.
-
ssh into CloudKey, or Linux Install or whatever device your controller software is stored. Once in make sure you are user root
-
cd <unifi_base>/data/sites/<site_name>
If not sure of <site_name> just cd into <unifi_base>/data/sites and look for a directory that corresponds to your site (mine was default since I never changed it) -
vi config.properties (This file did not exist for me so I opened empty file. In some cases it might exist, and then just add to it)
-
Add - “config.system_cfg.1=system.analytics.anonymous=disabled”
-
Save and exit
For changes to stick, you will need to re-provision all switches and AP’s.
That’s it. Good way to waste some precious moments of your day.