user1293
user1293

Reputation: 31

How to detect mobile device (android or iOS) with AMP

I am trying to display different content based on the users device. One button for android devices another button for iOS devices. I found a bit of an answer using req.headers["user-agent"] but I do not know how to implement that solution.

Upvotes: 3

Views: 312

Answers (0)

Related Questions