BotFramework Get count of button click ( OpenURL)

為{幸葍}努か 提交于 2019-12-04 05:07:08

问题


In our botframework chatbot application we have URLs ( buttons - OpenURL) which will redirect to website / mobile apps links. How we will be able to get the statistics or number of hits happened to a particular website URL.

Thank you AMR


回答1:


This is not possible in the bot. The "OpenUrl" protocol tells the channel to just open the link on the button. This doesn't trigger a message so the bot will not know that the button was clicked.

The only solution I can think of is creating a special url which will first log the action and then redirect the user to the requested webpage. But this solution requires you to setup your own website or api.



来源:https://stackoverflow.com/questions/43996521/botframework-get-count-of-button-click-openurl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!