Add analytic tracking for goals.

This commit is contained in:
Ian Adam Naval 2014-05-22 02:13:19 -07:00
parent 92e250dc32
commit fd881ce3f9

View File

@ -35,42 +35,42 @@
<div id="portfolio" class="section center-wrapper">
<h2>Portfolio</h2>
<div id="resume"><a class="button" href='http://files.ianonavy.com/resume.pdf'>View Résumé</a></div>
<div id="resume"><a class="button" href='http://files.ianonavy.com/resume.pdf' onclick="_gaq.push(['_trackEvent', 'resume', 'download', 'view']);">View Résumé</a></div>
<div id="portfolio-items" class="">
<div class="portfolio-item center-wrapped">
<a target="_blank" href="http://mirrors.acm.wpi.edu/"><img src="{{ url_for('static', filename='img/mirrors.png') }}" alt="WPI ACM Mirrors screenshot" class="screenshot"></a>
<a target="_blank" href="http://mirrors.acm.wpi.edu/" onclick="_gaq.push(['_trackEvent', 'portfolio', 'click', '1']);"><img src="{{ url_for('static', filename='img/mirrors.png') }}" alt="WPI ACM Mirrors screenshot" class="screenshot"></a>
<h3>WPI ACM Mirrors</h3>
<p>GNU/Linux mirrors for WPI folk.</p>
</div>
<div class="portfolio-item center-wrapped">
<a target="_blank" href="http://acm.wpi.edu/"><img src="{{ url_for('static', filename='img/acm.png') }}" alt="WPI ACM Website screenshot" class="screenshot"></a>
<a target="_blank" href="http://acm.wpi.edu/" onclick="_gaq.push(['_trackEvent', 'portfolio', 'click', '2']);"><img src="{{ url_for('static', filename='img/acm.png') }}" alt="WPI ACM Website screenshot" class="screenshot"></a>
<h3>WPI ACM Website</h3>
<p>Homepage for the WPI ACM chapter.</p>
</div>
<div class="portfolio-item center-wrapped">
<a target="_blank" href="http://competition.acm.wpi.edu/"><img src="{{ url_for('static', filename='img/competition.png') }}" alt="ACM Programming Competition screenshot" class="screenshot"></a>
<a target="_blank" href="http://competition.acm.wpi.edu/" onclick="_gaq.push(['_trackEvent', 'portfolio', 'click', '3']);"><img src="{{ url_for('static', filename='img/competition.png') }}" alt="ACM Programming Competition screenshot" class="screenshot"></a>
<h3>ACM Programming Competition</h3>
<p>Programming competition framework for WPI.</p>
</div>
<div class="portfolio-item center-wrapped">
<a target="_blank" href="http://sms-fixer.ianonavy.com/"><img src="{{ url_for('static', filename='img/sms-fixer.png') }}" alt="SMS Fixer screenshot" class="screenshot"></a>
<a target="_blank" href="http://sms-fixer.ianonavy.com/" onclick="_gaq.push(['_trackEvent', 'portfolio', 'click', '4']);"><img src="{{ url_for('static', filename='img/sms-fixer.png') }}" alt="SMS Fixer screenshot" class="screenshot"></a>
<h3>SMS Fixer</h3>
<p>Helps restore Android texts from Google Voice.</p>
</div>
<div class="portfolio-item center-wrapped">
<a target="_blank" href="http://potatoipsum.com/"><img src="{{ url_for('static', filename='img/potatoipsum.png') }}" alt="Potato Ipsum screenshot" class="screenshot"></a>
<a target="_blank" href="http://potatoipsum.com/" onclick="_gaq.push(['_trackEvent', 'portfolio', 'click', '5']);"><img src="{{ url_for('static', filename='img/potatoipsum.png') }}" alt="Potato Ipsum screenshot" class="screenshot"></a>
<h3>Potato Ipsum</h3>
<p>Lorem ipsum generator. With potatoes.</p>
</div>
<div class="portfolio-item center-wrapped">
<a target="_blank" href="https://play.google.com/store/apps/details?id=com.mathhammer40k.mathhammer&amp;hl=en"><img src="{{ url_for('static', filename='img/mathhammer.png') }}" alt="MathHammer screenshot" class="screenshot"></a>
<a target="_blank" href="https://play.google.com/store/apps/details?id=com.mathhammer40k.mathhammer&amp;hl=en" onclick="_gaq.push(['_trackEvent', 'portfolio', 'click', '6']);"><img src="{{ url_for('static', filename='img/mathhammer.png') }}" alt="MathHammer screenshot" class="screenshot"></a>
<h3>MathHammer 40k</h3>
<p>Damage stats calculator app for WarHammer 40k.</p>
</div>
@ -80,7 +80,7 @@
<div id="contact" class="section center-wrapper">
<h2>Contact</h2>
<p>Information is on my <a href='http://files.ianonavy.com/resume.pdf'>résumé</a>.</p>
<p>Information is on my <a href='http://files.ianonavy.com/resume.pdf' onclick="_gaq.push(['_trackEvent', 'resume', 'download', 'contact']);">résumé</a>.</p>
</div>
{% endblock main %}