Skip to content

Commit

Permalink
category, action and extra label added
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Nov 5, 2012
1 parent ccdb2c6 commit c4a50bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webapp/htdocs/Google-Analytics/GA-asynchronous.xslt
Expand Up @@ -135,7 +135,7 @@ function Yanel_requestURIFromFQURL(HTMLAelement) {

<xsl:copy>
<xsl:apply-templates select="@*[name() != 'onclick']"/>
<xsl:attribute name="onclick">_gaq.push(['_trackEvent', '', '', '']);<xsl:value-of select="@onclick"/></xsl:attribute>
<xsl:attribute name="onclick">_gaq.push(['_trackEvent', 'Category', 'Action', 'Extra label if you like!']);<xsl:value-of select="@onclick"/></xsl:attribute>
<xsl:apply-templates select="node()"/>
</xsl:copy>
</xsl:template>
Expand Down

0 comments on commit c4a50bf

Please sign in to comment.