我能否使用图像像素调用多个跟踪像素?

3

我可以在一个图片像素中调用多个跟踪像素吗?

我的主要跟踪像素是 ->

<img src="http://domain.com/pixel/123" alt="" style="height:1px;width:1px;border:0 none" />

然而,如果我使用mod_rewrite,我也可以在phph文件中调用其他像素吗?

基本上,我只能放置一个跟踪像素,但需要从下面调用所有像素。

<img src="http://domain.com/pixel/123" alt="" style="height:1px;width:1px;border:0 none" />
<img src="http://domain1.com/pixel/232" alt="" style="height:1px;width:1px;border:0 none" />
<img src="http://domain2.com/pixel/745" alt="" style="height:1px;width:1px;border:0 none" />
<img src="http://domain3.com/pixel/478" alt="" style="height:1px;width:1px;border:0 none" />
<img src="http://domain4.com/pixel/894" alt="" style="height:1px;width:1px;border:0 none" />

另外,对于这个任务,我无法使用服务器到服务器跟踪或iframe跟踪。因此,我需要一种方法以一个文件的方式从上面加载像素。

1个回答

2
您正在从5个不同的域加载5个不同的资源(跟踪像素),因此您需要客户端执行这5个请求:没有服务器端的东西会起作用(服务器只有“domain.com”的HTTP标头,而没有“domain*.com”)。您可以使用带有5个背景图层的CSS:外部通过加载,内部使用,在

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接