Forum Discussion

amanda_optly's avatar
11 years ago

Adding Analytics Events to Kudos

Hi Developers. We want to tie a Mixpanel and GA custom event to the the following actions

 

1. Kudos

2. Create intial discussion

3. Reply

 

I've read this article: http://community.lithium.com/t5/Developers-Knowledge-Base/Subscribing-to-community-events-using-the-REST-API/ta-p/14785 but there does not seem to be any way to capture the kudos action or differentiate between the Create and Reply action

 

Can you let me know how you've done this? I have to imagine that there are several other communities using 3rd party analytics. 

 

Looking forward to hearing back from you

4 Replies

  • We figured out differentiating the initial creation from reply (see below). But still looking for the best way to add kudos. 

     

    I would love to chat with some one who has used custom events in GA or hooked up custom events in another tracking to see how you did it. 

     

    <message type="message" href="/messages/id/1250"> 
    <root type="message" href="/messages/id/1250"/> 

    The message ID is '1250' and the root message is '1250' which indicates the message was a new post since they match. You can test this with a reply and see if the message ID is different from the root message.