add Analytics event to track sample downloads (for real this time)
Change-Id: I014fd31f0f12698462d44a8afed96ca6e3cfef38
This commit is contained in:
parent
719acb4553
commit
79a55d3585
|
@ -7,7 +7,7 @@
|
|||
|
||||
<div <?cs if:fullpage
|
||||
?>class="fullpage"<?cs elif:design||tools||about||sdk||distribute
|
||||
?>class="col-13" id="doc-col"<?cs else
|
||||
?>class="col-13" id="doc-col"<?cs else
|
||||
?>class="col-12" id="doc-col"<?cs /if ?> >
|
||||
|
||||
<!-- start breadcrumb block -->
|
||||
|
@ -17,7 +17,9 @@
|
|||
<!-- related links -->
|
||||
<a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/index.html">Overview</a>
|
||||
| <a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/project.html">Project</a>
|
||||
| <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip">Download</a>
|
||||
| <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 -->
|
||||
|
||||
|
@ -28,7 +30,7 @@
|
|||
<div id="pathCrumb">
|
||||
<?cs each:item = parentdirs ?>
|
||||
<?cs if:pathCrumbLinks
|
||||
?><a href="<?cs var:toroot ?><?cs var:item.Link ?>"><?cs var:item.Name ?></a> /
|
||||
?><a href="<?cs var:toroot ?><?cs var:item.Link ?>"><?cs var:item.Name ?></a> /
|
||||
<?cs else
|
||||
?><?cs var:item.Name ?> / <?cs /if ?>
|
||||
<?cs /each ?>
|
||||
|
|
Loading…
Reference in New Issue