add analytics event to track sample downloads

Change-Id: Ibb6ca88845ca0f26b759503fbca540009e1d7c8c
This commit is contained in:
Scott Main 2013-11-20 15:22:15 -08:00
parent 95cd097f42
commit 2fbc1c9537
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@
&#124; Project<?cs else ?>Overview
&#124; <a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/project.html">Project</a>
<?cs /if ?>
&#124; <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip">Download</a>
&#124; <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip"
onclick="_gaq.push(['_trackEvent', 'Samples', 'Download', <?cs var:projectDir ?>]);"
>Download</a>
</div><!-- end sum-details-links -->