Lead Capture Tools

mrktingsaas0120
Contributor

Landing Page Workflow - PC vs Mac vs Mobile

SOLVE

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?

0 Upvotes
1 Accepted solution
himanshurauthan
Solution
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Landing Page Workflow - PC vs Mac vs Mobile

SOLVE

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

Digital Marketing & Inbound Expert In Growth Hacking Technology

View solution in original post

3 Replies 3
himanshurauthan
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Landing Page Workflow - PC vs Mac vs Mobile

SOLVE

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 😃

Digital Marketing & Inbound Expert In Growth Hacking Technology
mrktingsaas0120
Contributor

Landing Page Workflow - PC vs Mac vs Mobile

SOLVE

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

0 Upvotes
himanshurauthan
Solution
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Landing Page Workflow - PC vs Mac vs Mobile

SOLVE

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

Digital Marketing & Inbound Expert In Growth Hacking Technology