GA - Track Download of File


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <a href="http://link/to/file.pdf" onclick="_gaq.push(['_trackEvent', 'PDF', 'NAME OF PDF');" target="_blank" title="TITLE OF FILE">ANCHOR TEXT</a>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.