> Specifically, is tracking inside of a single app/property acceptable?
If you have any kind of unique identifier for the user (UUID, etc) and do not ask for consent before processing their data (tracking them), then this is a clear breach of privacy law.
If you get explicit consent (that means the user understands what they're consenting to) before you process their data (so no setting up identifiers and then showing a popup), then you're in the clear.
If you put unique identifiers in the link the user clicks so you can see if the user opened your app, then you need to ask for consent before generating the link.
And of course, apps/services should all function if the user doesn't provide consent. "Give consent to enter" is explicitly illegal.
Theoretically, you could build something like this, but it's not what advertisers want, because they want to track their users without interrupting the conversion flow with a yes/no popup "do you want company Y to know you installed app X because of them".