Accurately tracking DAU and MAU's

Looking for input or suggestions on methods to accurately track/count DAU's and MAU's given Apple's option for users to opt-out of sharing information. When looking at my metrics it notes only 38% of users have opted in to share metrics and I'm looking for ways to find more accurate numbers. Thanks in advance.