There is no way to differentiate between installation and a banner click. Apps should store the permanent access token to be looked up by the shop's URL, which is passed as the `shop_url` parameter from banner and app store links. The permanent access token is just that, and will remain valid for the duration of the app's installation. If they reinstall the app, new access token must be generated.
↧