title: Tracking outgoing links with Javascript and PHP
body: <p>I have tried it using jQuery but it is not working.</p>
  
  <pre><code>&lt;script&gt;
      $("a").click(function () { 
        $.post("http://www.example.com/trackol.php", {result: "click"
    }, "html");
      });
  &lt;/script&gt;
  &lt;a href="http://www.google.com"&gt;out&lt;/a&gt;
  </code></pre>