Custom Telemetry - Custom Event for Bot

%3CLINGO-SUB%20id%3D%22lingo-sub-2044767%22%20slang%3D%22en-US%22%3ECustom%20Telemetry%20-%20Custom%20Event%20for%20Bot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2044767%22%20slang%3D%22en-US%22%3E%3CP%3EI%20know%20we%20can%20add%20custom%20telemetry%20for%20the%20Healthcare%20bot%20using%26nbsp%3B%3CSPAN%3Esession.logCustomEvent(%3CEVENTNAME%3E%2C%20%3CEVENTPAYLOAD%3E).%20But%2C%20I've%20noticed%20that%20it%20logs%20the%20custom%20event%20parameter%20%22speaker%22%20to%20%22user%22%20instead%20of%20the%20bot.%20So%2C%20is%20there%20anyway%20to%20log%20a%20custom%20event%20and%20set%20the%20speaker%20parameter%20to%20the%20%22bot%22%3F%20I%20can't%20find%20any%20documentation%20on%20session.logCustomEvent%20that%20takes%20in%20more%20parameters%20than%20the%20eventName%20and%20eventPayload.%20And%2C%20it%20messes%20up%20all%20my%20analytics%20dashboards%20when%20it%20thinks%20these%20customEvents%20are%20from%20the%20user.%26nbsp%3B%3C%2FEVENTPAYLOAD%3E%3C%2FEVENTNAME%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I know we can add custom telemetry for the Healthcare bot using session.logCustomEvent(<eventName>, <eventPayload>). But, I've noticed that it logs the custom event parameter "speaker" to "user" instead of the bot. So, is there anyway to log a custom event and set the speaker parameter to the "bot"? I can't find any documentation on session.logCustomEvent that takes in more parameters than the eventName and eventPayload. And, it messes up all my analytics dashboards when it thinks these customEvents are from the user. 

0 Replies