Open broady opened 5 years ago
Trigger an event when keyboard shortcuts are used:
https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiEventTracking
Probably here:
https://github.com/golang/gddo/blob/72a348e765d293ed6d1ded7b699591f14d6cd921/gddo-server/assets/site.js#L174-L207
To collect stats via GA on clicking through to source, it looks like upgrading to analytics.js might be required. I don't think the legacy ga.js gives you a callback after the event was tracked.
Trigger an event when keyboard shortcuts are used:
https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiEventTracking
Probably here:
https://github.com/golang/gddo/blob/72a348e765d293ed6d1ded7b699591f14d6cd921/gddo-server/assets/site.js#L174-L207