title: How to track a simple button click event in shopify?
body: <p>I want to add some javascript like:</p>
  
  <pre><code>$("#foo").click(function(){
     makeHttpPost();
  });
  </code></pre>
  
  <p>that makes an http request whenever a button with id <code>foo</code> is clicked and i don't see a simple way to add this Javascript.</p>
  
  <p>I saw that you could add an asset file and then reference it in a previous answer but i don't see anywhere to add an "asset". I only see a "files" section under settings.</p>
  
  <p>I'd appreciate a step by step description of what to do and where to find what to do from the admin panel.</p>
  
  <p>Thanks!</p>