BotFramework获取按钮点击次数(OpenURL) [英] BotFramework Get count of button click ( OpenURL)

查看:55
本文介绍了BotFramework获取按钮点击次数(OpenURL)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的botframework聊天机器人应用程序中,我们具有URL(按钮-OpenURL),它将重定向到网站/移动应用程序链接.我们将如何获得特定网站URL的统计信息或命中次数.

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.

谢谢 AMR

推荐答案

这在漫游器中是不可能的. "OpenUrl"协议告诉频道仅打开按钮上的链接.这不会触发消息,因此漫游器不会知道该按钮已被单击.

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.

我能想到的唯一解决方案是创建一个特殊的url,它将首先记录操作,然后将用户重定向到所请求的网页.但是,此解决方案要求您设置自己的网站或api.

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.

这篇关于BotFramework获取按钮点击次数(OpenURL)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆