Could you fire an event using Segment.io's Analytics.js library here? The syntax would be something like `analytics.track("Event Name");`

The CMS has good examples on doing this; for example, see `cms/static/coffee/src/views/unit.js`