Forum Discussion

Howard's avatar
Howard
Guide
8 years ago

Hooking to a Kudo or "Helpful: Yes/No" button for Adobe Analytics

Hi there,

 

We are trying to track Kudo/un-Kudo as well as Helpful? Yes/No buttons in Adobe Analytics

We have the tracker code already but need to hook the calls onto the Kudo/Yes/No buttons 

We also need to pass the author's name along

 

For example (We have renamed Kudo to "Like" in our community):

 

If user clicks on “Like”, call dtmTrackLike(dtmComponentNames.BUTTON, dtmCv.LIKE, "<name of author of said post>");

If user clicks on “Unlike”, call dtmTrackLike(dtmComponentNames.BUTTON, dtmCv.UNLIKE, "<name of author of said post>);

* e.g. if the name of the author whose post is being liked is "Dory"

dtmTrackLike(dtmComponentNames.BUTTON, dtmCv.LIKE, “Dory");

 

Similarly for the TKB helpful (YES/NO) buttons, we would like to do this:

 

If user clicks on “Yes”, call dtmTrackArticleRating(dtmComponentNames.BUTTON, dtmCv.YES, "<name of TKB author>");

If user clicks on “No”, call dtmTrackArticleRating(dtmComponentNames.BUTTON, dtmCv.NO, "<name of TKB author>");

 

Any insights would be much appreciated! 

Thanks!

No RepliesBe the first to reply