Preview new functionality as an Anonymous User with Liquid and URL Query String Parameters


This article explains how to preview new functionality or content on a public website without making it visible to the world. The author suggests using URL query parameters, such as "?preview=true", to restrict access to the preview version. These parameters can be accessed in Liquid using "request.params.nameofquerystring". By wrapping the code for the new functionality in a Liquid condition, it can be displayed only when the "preview" parameter is set to "true". The article also provides a brief introduction to query string parameters for those who are new to them.


Article 26m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time