The installation of apps from alternative app marketplaces is entirely controlled by Apple and iOS, and can only be done via a set of new APIs called AppLibrary [1]. That will make it very easy for Apple to track installs.
[1] https://developer.apple.com/documentation/appdistribution/in...