mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Add google analytics events
This commit is contained in:
parent
fbd59fb925
commit
fa1d0d897d
@ -5,8 +5,20 @@
|
||||
<p class="description">Simply beautiful open source icons</p>
|
||||
</div>
|
||||
<div class="header-button-group">
|
||||
<a class="button button-primary" href="feather-{{ site.data.package.version }}.zip" download>Download</a>
|
||||
<a class="button button-secondary" href="https://twitter.com/intent/tweet?text=Feather%20-%20Simply%20beautiful%20open%20source%20icons%20by%20%40colebemis%20colebemis.github.io/feather" target="_blank">Tweet</a>
|
||||
<a
|
||||
class="button button-primary"
|
||||
href="feather-{{ site.data.package.version }}.zip"
|
||||
download
|
||||
onclick="ga('send', 'event', 'download', 'click', 'all');">
|
||||
Download
|
||||
</a>
|
||||
<a
|
||||
class="button button-secondary"
|
||||
href="https://twitter.com/intent/tweet?text=Feather%20-%20Simply%20beautiful%20open%20source%20icons%20by%20%40colebemis%20colebemis.github.io/feather"
|
||||
target="_blank"
|
||||
onclick="ga('send', 'event', 'share', 'click', 'twitter');">
|
||||
Tweet
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
@ -7,7 +7,14 @@
|
||||
<div class="tooltip">
|
||||
<p class="tooltip-icon-name">{{ icon }}</p>
|
||||
<!-- TODO: remove tabindex="-1" -->
|
||||
<a class="tooltip-download" href="{{ icon_path }}" download tabindex="-1">Download</a>
|
||||
<a
|
||||
class="tooltip-download"
|
||||
href="{{ icon_path }}"
|
||||
download
|
||||
tabindex="-1"
|
||||
onclick="ga('send', 'event', 'download', 'click', '{{ icon }}');">
|
||||
Download
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user