Preventing your devices from sending analytics events when using the live build from the store

Is there any way to prevent my phones, while using the live version of the app from the stores, to not send any events? i’m reading that SystemInfo.deviceUniqueIdentifier doesn’t return IMEI numbers all the time for android, so i’m lost on what to do.