on-internet
← Community

Create a URL that redirects to either App Store, Play Store or Website depending on user agent

Stack Overflow ·

What is the easiest way to create 1 link that will re-direct to either the App Store, Google Play Store, or a website, depending on the user agent? iOS device should redirect to App Store. Android device should redirect to Google Play. Any other device should redirect to website.

Comments

Sign in or sign up to comment and upvote.

No comments yet.