Logging the usage of js keyboard navigation with A

2019-08-18 01:37发布

I started to add this keyboard navigation for my next/back pages, and wanted to log the usage of it.. I mean how much people use it, and from what pages and so.. and I've been told that it could be done with AJAX calls from JS code or something..

Any suggestions how to implement this?

1条回答
Bombasti
2楼-- · 2019-08-18 01:59

You could use Google Analytics and some scripting to do your event tracking. More information on how to do event tracking here:

https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

查看更多
登录 后发表回答