although your question was poorly worded, I understand what you need.
And I rectify why your question was asked incorrectly, due to lack of knowledge in the field. I respect and admire that you came to find a solution.
I'll give you my long-standing opinion on work and website development ... Ok ...
What are you describing ...
For each device, it will enter a page ...
Well, it can even be done ...
But it generates a lot of time and a lot of complexity, for something that could be easier ... A lot for those who are doing it ... So easy for the final process.
After all, whoever enters the iPhone, he searches for the app store, whoever enters Android looks for the Play Store and whoever enters the PC, looks for a Chrome extension or some relevant information.
Well, what I advise is to focus on whether what you are asking for is really necessary. Because I see that it is simply a complement that may be automatically unnecessary. Because that thought is an obvious thing for the end user.
Now, in which programming language are you creating this site?
Is it a CMS? As this function you want can be easy to implement with a plug-in, for example ...
I hope I helped and we will continue the feddback until the solution ... Ok ..
Up until