Device detection for appropriate download button

Does Plasmic support the functionality commonly referred to as device detection or user agent detection? I want my Plasmic Website (https://www.meldstudio.co/) to use this technique to determine the operating system (OS) of the visitor and dynamically display the appropriate download button.

Thank you!

Hi, Plasmic doesn’t provide a built-in solution for detecting the device. You can create a global variant in your project to represent the different content that should be used by different devices. But you need to do the code instrumentation in your application to connect the visitor’s device with your global variant.

1 Like

Thank you