修改clickonce发布的html中的谷歌分析跟踪代码

发布于 2024-07-15 01:46:45 字数 141 浏览 5 评论 0原文

以前有人尝试过这个吗?

如何通过 Visual Studio 将 google Analytics 跟踪代码 .js 修改为publish.htm? 有简单的方法吗? 例如通过使用构建后事件或什么?

任何帮助表示赞赏!

Has anybody tried this before?

How can i amend the google analytics tracking code .js into the publish.htm via visual studio?
Is there an easy way? For example by using post build events or what?

Any help appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

执手闯天涯 2024-07-22 01:46:45

你可以添加谷歌分析的东西,就像在任何其他网站上一样,它只是纯 html。

但是,您将无法跟踪已安装的 clickonce 应用程序查询更新。
谷歌提供的统计数据不会为您提供有关 clickonce 应用程序安装频率的任何信息。

you can add the google analytics stuff like on any other website it's just plain html.

however, you will not be able to track already installed clickonce applications querying for updates.
and the statistics provided by google will not give you any information about how often the clickonce app was installed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文