title: Disable google tag manager according to the decision of single users (opt-out)
body: <p>In some countries (i.e. Italy), legal requirements oblige website to provide <code>disable</code>/<code>enable</code> <strong>analytics cookies</strong></p>
  
  <p>For instance: for Google Tag Manager.</p>
  
  <p><a href="http://blog.intlock.com/using-gtm-to-enable-visitors-to-opt-out-of-being-tracked" rel="noreferrer">I read this post covers this "<code>opt-in</code>/<code>opt-out</code> analytics topic"</a>. </p>
  
  <hr>
  
  <p>However I still have a question: </p>
  
  <p>Why can't I simply read a cookie <strong>server-side</strong> which contains the user preference and if I find a given value (i.e. "disable"), set an attribute to be able to conditionally include (or not) the <strong>GTM script</strong> in my <strong>JSP</strong> page?</p>