javascript - Can I call multiple tracking pixels with an image pixel? -



javascript - Can I call multiple tracking pixels with an image pixel? -

can phone call mutiple tracking pixels image pixel?

my main tracking pixel -->

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

however, if mod_rewrite, phone call other pixels in phph file?

basically, can place 1 tracking pixel, need phone call pixels below.

<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" />

also, task, can' utilize server server tracking or iframe tracking. need way load pixels above in 1 file.

you're loading 5 different resources (tracking pixels) 5 different domains, need client 5 requests: no server-side stuff work (server have http headers "domain.com", , no "domain*.com").

you may utilize css 5 background image layers:

external, loaded through <link rel="stylesheet" type="text/css" href="..."/> internal <style>...</style> inside style attribute)

example style attribute:

<div style="background-image: url('http://domain.com/pixel/123'), url('http://domain1.com/pixel/232'), url('http://domain2.com/pixel/745'), url('http://domain3.com/pixel/478'), url('http://domain4.com/pixel/894');">&#xnbsp;</div>

if css not enabled, tracking won't work. can set style attribute on existing element.

there no other way apart (edit in case i've forget some):

multiple <img.../> tags css background-image: url()...; multiple <iframe...></iframe> multiple <link.../> (then "tracking pixels" become "tracking css/external resource") javascript loading (xmlhttprequest or others ways load resources)

javascript php pixel pixels

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -