Device Detection: AMP page
This example uses device detection to decide whether to serve the AMP page or the desktop page to a device. This is the AMP page.
- If you visit this page on a mobile device, you should get the AMP version.
- If you visit this page on a desktop browser, you should get the desktop version.