<span> <a href= "http://protect-your-family.hansaplast.com.my/upload/<?php echo $filename;? >.jpg "Download onclick=" trace_page (' Download '); > DownLoad </a></span>
Js:
<script type= "Text/javascript" > var _gaq = _gaq | | []; _gaq.push ([' _setaccount ', ' ua-57995306-19 ']); _gaq.push ([' _trackpageview ']); (function () { var ga = document.createelement (' script '); Ga.type = ' text/javascript '; Ga.async = true; GA.SRC = (' https: ' = = Document.location.protocol? ' Https://ssl ': ' http://www ') + '. Google-analytics.com/ga.js '; var s = document.getelementsbytagname (' script ') [0]; S.parentnode.insertbefore (GA, s); }) (); function Trace_page (page) { if ((typeof _gaq) = = ' object ') { _gaq.push ([' _trackpageview ', '/' + page]); } } function trace_event (category, actions, label) { if ((typeof _gaq) = = ' object ') { _gaq.push ([' _trackevent ', Category, actions, label]); } } </script>
Google Analytics link clicks history