能不能在用户点击小程序图标时,就监控到用户这个使用的行为?

小程序 文章 2022-02-14 15:20 337 0 全屏看文

AI助手支持GPT4.0

能不能在用户点击小程序图标时,就监控到用户这个使用的行为?Can the user's behavior be monitored when the user clicks the applet icon?

能不能在用户点击小程序图标时,就监控到用户这个使用的行为?

想问一下,能不能在用户进入到第二张图的页面,还未获取授权信息的情况下,就获取到用户的openid,从而识别出这个用户。

ps:进入到第二张图,未点击登录(未到3图),这时候,小程序后台实时日志里,没看到记录。

I would like to ask if you can get the openid of the user when the user enters the page of the second figure and has not obtained the authorization information, so as to identify the user. PS: enter into the second picture, and do not click to log in (Figure 3). At this time, there is no record in the background real-time log of the applet.

回答:

brave:

code2session 可以直接获取啊

老张:

openid可以随时获取。

微喵网络:

wx.login配合后端接口就能静默获取openid

-EOF-

AI助手支持GPT4.0