Google Play Developer API allows developers to access app data, but it doesn’t provide access to the URL of a Play Store page directly. It’s primarily useful for managing apps, in-app purchases, and subscriptions. However, it’s not a solution for extracting Play Store URLs in real-time during user browsing
if needed, use a WebView to track the URL when users visit the Play Store page in a browser.