修改了clickonce发布的html中的Google Analytics分析跟踪代码

时间:2023-02-07 19:15:56

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?

如何通过visual studio将google分析跟踪代码.js修改为publish.htm?有一个简单的方法吗?例如,通过使用post build事件或什么?

Any help appreciated!

任何帮助赞赏!

1 个解决方案

#1


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

你可以在任何其他网站上添加谷歌分析的东西,它只是简单的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.

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

#1


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

你可以在任何其他网站上添加谷歌分析的东西,它只是简单的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.

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