New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deep links for mobile app in Piwik 3 ? #10840
Comments
I think it would be possible in general but some effort to make sure users arrive on correct report within the app. What would be your workflow? |
Hello, The fact is that I use Piwik - since a few weeks - so I'm a newbee - to track some technical metrics from one Android native app. For transparency, ethic, and users information, I want to use anonymous user to show the collected data on the front page. As it is one native app with content without related webpage, all links in reports give 404 errors. From one end, when the user browse reports from one mobile device, I think, but I'm not sure (my app handle them for appindexing ) that deeplink should be done from Piwik report to related content in the app. On the over end, when the user browse reports from a desktop, I don't know how to handle it. But 404 errors on each app related link is not ... Maybe links should simply be removed, as content name is explicit. I go further and come back. Maybe have you some idea ? Thanks, Eric |
I understand. What you could do already now is to link to a Piwik widget see https://piwik.org/docs/embed-piwik-report/#embed-a-piwik-report-in-a-html-page It mentions iFrame and embedding into a website but you can use these URLs also to link to it within the app. You can even link to the dashboard without the Piwik interface see https://piwik.org/docs/embed-piwik-report/#embed-the-piwik-dashboard-in-a-html-page For Piwik this would be eg http://demo.piwik.org/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=7&period=week&date=yesterday&token_auth=anonymous As you might want to change such links at some point I would recommend to link to eg opalesurfcasting.net/publicdashboard and then redirect users to the correct URL. This way you can always control the link even when people haven't updated your app yet |
Ok, Thanks a lot @tsteur . |
Hello,
Is there a way to handle deep link url https://developer.android.com/training/app-indexing/deep-linking.html to native Android app in Piwik 3 reports ?
Here is a doc from schema.org on potentialAction : https://www.w3.org/wiki/images/1/10/PotentialActionsApril11.pdf (Scheme based encoding of entry point)
Thanks,
Eric
The text was updated successfully, but these errors were encountered: