Getting started
How to add an app download button to your website (iOS + Android)
Put one "Download the app" button on your site that opens the right store on every device.
A "Download the app" button on your marketing site or landing page has to serve a mixed audience. Showing two buttons (App Store + Google Play) adds friction and clutter; showing one hardcoded store link strands the other half of your visitors. The clean solution is a single button pointing at a smart link that routes each visitor to the correct store. Here's how to set it up.
The problem
- A single hardcoded store button sends half your visitors to the wrong place.
- Two side-by-side store buttons add visual clutter and a decision step.
- You can't detect the device in static HTML without extra JavaScript.
- Hand-written redirects need hosting and ongoing maintenance.
With onestore.link
- Point one button at a onestore.link URL — it routes to the App Store or Google Play by device.
- Keep your markup dead simple: a normal anchor tag, no JavaScript needed.
- Desktop visitors get a both-buttons landing page so they can still choose.
- Update the destination stores anytime without editing your site.
How to do it
No SDK, no rebuild. Just a URL.
- 1
Create your link
Generate a onestore.link with your App Store and Google Play URLs.
- 2
Add one button
Use a normal link in your markup: <a href="https://onestore.link/yourapp">Download the app</a>. No device detection code required.
- 3
Style it once
Style the single button to match your site. It now works for iPhone, Android, and desktop visitors alike.
Frequently asked questions
Do I need any JavaScript for device detection?
No. The button is a plain anchor tag pointing at your onestore.link URL. All device detection happens server-side when the link is clicked, so your page stays static.
Should I still show separate App Store and Google Play buttons?
You don't have to. One smart-link button handles both stores and removes a decision step. If you prefer the official store badges, you can still wrap each in the same onestore.link URL.
Will it work on a desktop visitor?
Yes. Desktop clicks land on a lightweight page showing both store options, so a visitor on a laptop can choose or send it to their phone.
Ready to try it?
Free forever, no signup required. Your first link is live in under a minute.
Create your free linkSee it in action: Browse the matching use case →