Welcome Developers!
For appinvites we now get an install_location=appinvites as the query string parameter of the callback URL. Does the same exist for installs coming from the application directory page.