title: Is there a conflict between smarty and google analytics (prestashop 1.4)
body: <p>I'm trying to add a new google analytics event in a form. 
  So I have something like this : </p>
  
  <pre><code>    &lt;a href="#" name="button1" onclick="dataLayer.push({'event': 'button1-click'});" &gt;Button 1&lt;/a&gt;
  </code></pre>
  
  <p>So far, so good. But I get this weird smarty error : </p>
  
  <pre><code>     Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "C:\wamp\www\mycookit/themes/cookit/delivery.tpl" on line 164 "dataLayer.push({'event': 'event_name'});" - Unexpected ": ", expected one of: "}" , " "' in C:\wamp\www\mycookit\tools\smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 431
  </code></pre>
  
  <p>Has this ever happened to annyone? Is it prestashop? Is it just me?</p>
  
  <p>I never had any problem doing this on other websites but none of them where on prestashop or smarty.</p>