jamis0n
10 years agoContributor
Integrating Lithium Events With Analytics Services
I'm interested in sending community events to my analtytics platform for tracking various community metrics, such as posts, replies, kudos, etc...
I've searched the developer docs, but the only solution I can find is the REST API, which involves sending this data server side via my callback URL.
Is there anyway to hook into these events clientside with an event listener?
Perhaps something like this:
LITHIUM.on('MessageCreate', function(event) { // Do some logic and send to Google Analytics... });