如何跟踪附属机构的软件安装?
现在,我通过使用 cookie 来跟踪特定软件的安装情况。 (目前这是所有窗口。)由于下载是通过链接从我的网站进行的,因此我可以向附属机构提供自定义链接,以确定下载的来源。我还为计算机分配了一个唯一的 ID 来跟踪它。这些会在将来的某个时候弹出到注册表中以实现持久性。
现在,有更多的方法来传播该软件,而不仅仅是通过下载链接——我希望能够只向某人提供一个 .exe 文件,并找出是谁给了他们这个文件。我可以有一个 .ini 文件或其他文件来保存跟踪代码,但这意味着我必须为每个附属机构创建一个安装程序 - 我并不完全反对这个想法,但我也不喜欢它。
还有更简单的方法吗?我知道这是一个常见的用例——人们会做什么?
Right now I track installs of a particular piece of software through the use of a cookie. (This is all windows currently.) Since the download comes from my site through a link I can give custom links to affiliates to figure out who to credit the download with. I also assign a unique id of sorts to the computer to track it. These get popped into the registry at some point in the future for persistence.
Now, there are more ways to spread the software rather than just through a download link -- I want the ability to just hand someone an .exe and figure out who gave them that. I could have a .ini file or something to hold the tracking code but that means I have to create an installer for each affiliate -- I'm not completely against this idea but I don't like it either.
Any easier ways? I know this is a common use case -- what do people do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
所以我自己想出了一个解决方案——只需要一秒钟来实施(因为我所有的服务器东西现在都在 *nix 上),但事情是这样的:
所以,没有问题是不可能的,只是可能需要一些思考才能完成它
so I've come up with a solution myself -- it's just going to take a second to implement (since all my server stuff lives on *nix right now) but here is how it goes:
so, no problem is impossible, it just might take some thinking to get it done