Skip to content

Instantly share code, notes, and snippets.

@sbward
Last active January 2, 2016 10:29
Show Gist options
  • Save sbward/8289911 to your computer and use it in GitHub Desktop.
Save sbward/8289911 to your computer and use it in GitHub Desktop.
<ul data-zc-options id="track_render">
<li class="active">HTML 5</li>
<li>Flash</li>
<li>SVG</li>
<li>Image</li>
<li>VML</li>
</ul>
$('#track_render li').click(function() {
analytics.track('Rendered in ' + $(this).text())
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment