azure - 对 Azure 静态 Web 应用进行更深入的分析?

标签 azure analytics azure-application-insights azure-static-web-app azure-static-website-hosting

是否可以访问浏览器、网站点击日期和时间、IP 地址等分析信息?

来自docs here ,看起来 Azure App Insights 仅适用于使用 Azure Functions 的静态 Web 应用程序。我只有一个静态网站,没有 API。

以下是我在尝试启用 App Insights 时显示的消息: enter image description here

理想情况下,我想设置诊断设置并使用 Azure Log Analytics 来查看分析。

如何在没有函数 API 的情况下对静态 Web 应用进行更深入的分析?

编辑1:我想至少捕获某处的点击次数。

  • Azure Metrics 正在抓取它们,但似乎没有在任何地方公开日志,仅公开这些可视化。

enter image description here

最佳答案

最终选择:

  • 独立的 Application Insights 实例
    • Azure 静态应用不允许为资源打开 App Insights,除非涉及 Azure Function(?)
  • 添加了此应用洞察 Javascript snippet到静态站点的每个页面。

@MSNEV 得到了一些很大的帮助!

这就是我一直在寻找的解决方案。

关于azure - 对 Azure 静态 Web 应用进行更深入的分析?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68146449/

相关文章:

azure - Application Insights 显示在实时指标中,但不显示在日志分析中

silverlight - 微软 Azure 和 Silverlight

javascript - Google Analytics(分析)按天计算的唯一访客数与按周计算的不匹配

azure - 无法捕获Azure VM的镜像

c# - 在我的网站上显示 Google Analytics 仪表板

javascript - 跨设备/浏览器分配一致的 GA clientId 有何负面影响

azure - Azure Functions 中的默认 logLevel 阈值是多少?

asp.net-mvc - 如何在 Application Insights for ASP.NET MVC(.NET Full) 中临时停止记录 RequestTrackingTelemetryModule

c# - 有没有办法使用 Microsoft Azure 认知服务 ComputerVision 获取图片中找到的对象的低置信度值?

azure - 使用TFS构建服务器但不部署