A minimal library born out of necessity: SIA attaches Google Analytics event tracking to monitor user interactions performed on embedded SoundCloud widgets, both on individual tracks as well as entire playlists.
This allows you to track user behaviour as well as have the events act as beacons to more accurately track page session duration. It also helps you in finding out how popular some of your tracks are ;)
As a matter of fact, it is in use on this very website. Just to verify whether my mother really thinks if "it is good".
SIA works with with multiple flavours of the Google Analytics tracker code, including the new Global Site Tag and the legacy tracker. Integration is minimal (the simplest solution merely requires you to inject the minified distribution code into your existing page(s)) and the initialization is fully automated.
SIA is available using npm.