title: Is there any way to use Cookies in Shopify Liquid templates?
body: <p>I am setting up a cookie inside a script file; however, I do not seem to find any working way to grab the value of that cookie and compare it against another value using Shopify liquid if statements?</p>
  
  <p>For example,</p>
  
  <p>I have a cookie set as: <code>customer_email: 'test@gmail.com'.</code></p>
  
  <p>I would like to grab this cookie value somehow and compare it using Shopify's if statement as below:</p>
  
  <pre><code>{% if customer_email == 'test@gmail.com' %}
  
     DO SOMETHING
  
  {% endif %}
  </code></pre>