分析和可用性软件如何做到这一点?
我使用分析软件已经有一段时间了,我一直在问自己,这样的软件如何完全复制网页,然后将其放入 iframe 中,并用图像和信息覆盖它。
示例:
我遇到的一个主要问题是复制网页。
特别是,复制用户当前正在查看的网页!(帐户面板、表单旅程等...)
我想这可以通过发送带有可用性数据的 html 来实现,但我看到了这个作为一个主要的性能问题...
对这个主题有什么评论吗?这将非常有趣! =)
进一步的发现:
- 我发现通过 GET 发送 HTML 可以通过使用客户端压缩来提高模式效率。虽然我还没有100%相信这一点!
I have been using analytics software for a while, and I've been asking myself how can such software copy a webpage completely to then place it in an iframe and overlay it with images and info.
An example:
A major problem I encountered is copying the webpage.
In particular, copying the webpage the user is currently viewing! (account panel, form journeys, etc...)
I guess this could be achieved by sending the html with the usability data, but I see this as a major performance problem...
Any comments on the subject? This would be very interesting! =)
Further findings:
- I discovered that sending the HTML over GET, could be made mode efficient by using client-side compression. Although I'm still not 100% convinced by this!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为他们实际上并没有为访问者复制整个页面,他们所需要的只是跟踪鼠标位置(x 和 y 坐标)和当前显示的页面的网址,
然后他们将利用这些信息向您显示各种信息(用户正在查看的位置、单击的内容等)。
I think they don't actually copy the whole page for your visitors, all of what they need, is to track the mouse location (x and y coordinates) and a url of the current page being shown,
then they will make use of these information to show you all kind of information (where the user was looking, what have been clicked, ... etc).
据我所知,谷歌分析“热链接”小部件根本不复制页面——它只是在 iFrame 中显示它,并在其上覆盖内容。 (在谷歌分析的情况下,他们还可以通过向嵌入在页面中的分析 JS 发送指令来修改页面显示。)
上面的内容看起来完全不同——你确定它是 html 而不是屏幕截图?
AFAIK the google analytics "hot links" widget doesn't copy the page at all -- it just shows it in an iFrame with stuff overlaid on it. (in google analytics' case, they can also modify the page display by sending instructions to the analytics JS embedded in the page.)
The above looks like a whole different kettle of fish though -- you sure it is html and not a screenshot?