Skip to content

Commit

Permalink
GA instrumented event for age of match - Pass data to ga as 'label' n…
Browse files Browse the repository at this point in the history
…ot 'value' for improved reporting
  • Loading branch information
kennsippell committed Jun 15, 2016
1 parent ba28d4b commit 1d2f3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/match/match.jade
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ block content
append footer_assets
script(type="text/javascript", src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5452f1e51eac0fc5", async="async")
script.
ga('send', 'event', 'match', 'view', 'ageOfMatch', moment().diff(moment.unix(#{match.start_time+match.duration}), 'days'));
ga('send', 'event', 'match', 'ageOfMatch', moment().diff(moment.unix(#{match.start_time+match.duration}), 'days'));

0 comments on commit 1d2f3dc

Please sign in to comment.