How to identify mobile or desktop device accessing your Shopify store?

Sell Online With Shopify
Trusted by millions of businesses worldwide
Sign up for a free trial and enjoy 3 months of Shopify for $1/month on select plans.

You want to detect mobile or desktop device accessing your Shopify store to do a task: If customer is accessing the site from a mobile device execute script A, else execute script B.

The below Javascript to help you do that.

DEMO

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *