Liquid, JavaScript, themes, sales channels
There was just a Q&A with Victoria Duggan about headless websites, and one topic of discussion was, surprisingly, how to make a headless Shopify site that doesn't rely on Javascript.
My first reaction was "It's not possible, except maybe with a purely SSG setup". My second thought was "Wait... what's the impact here? How many users are actually visiting Shopify stores without Javascript capability?"
Are there any official analytics released by Shopify that would give me an idea of how common this scenario is? I.e. What percentage of users across all of Shopify are browsing without Javascript?
Not sure about Shopify specific metrics, but here are the latest global stats curated by MediaWiki:
Global:
- 2010: 1.6% average (2.06% in U.S., 0.26% in Brazil) (according to developer.yahoo.com)
- 2013: 1.1% in U.K. (according to gds.blog.gov.uk)
- 2016: 0.2% average (1.87% in East Asia) (according to blockmetry.com)
Personally, I don't think it's worth worrying about. I believe most users disabling javascript are prepared to see some broken sites. So if they really want to buy something, they'll probably know to turn it back on / switch to a JS enabled medium.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024