guardian/frontend — pull request #722 by stephanfowler (2013-04-22 16:07:25+00:00)
Title: Bettr link tracking

The `module:clickstream:click` event now passes an object:
{
target: [the or element ancestor the actually clicked element],
samePage: [Boolean],
sameHost: [Boolean],
tag: ["the | link | name | string"],
}

To specify that an element has "same page" behaviour, you can add the class `control` it. This disambiguates things like ``, which despite looking like an off-page link is turned into a same-page controller by js.