Landing Page Workflow - PC vs Mac vs Mobile

Hi! I’m trying to create a HubSpot landing page for people to download a trial of our software. And depending on if they’re PC, Mac or Mobile, I’d want to create 3 different rules. Download File A on Mac. Download File B on PC. Email download links on Mobile. Is there a way to do this?

Hi @mrktingsaas0120,

If you want to detect mobile or desktop you can use HTTP request variables and detect based on the user agent.

{{request.headers[‘user-agent’]}}

Thanks,
Himanshu :smiley:

Oooo thank you! @himanshurauthan would that work for PC vs Mac too?

Hi @mrktingsaas0120,

You can detect but please go through this blog of Browser detection using the user agent to decide if you really want to use this or not.

There are other options that you might try like using javascript libraries if you have serverless, if not then you might create a page and return the link in JSON from that page based on the get parameters and dynamically change the link based on browser detection libraries like https://www.quirksmode.org/js/detect.html.

Thanks,
Himanshu