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

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 *