Why are most marketing tags (Omniture, XE, etc) written with document.write()?
Posted
by Esteban Araya
on Stack Overflow
See other posts from Stack Overflow
or by Esteban Araya
Published on 2010-04-05T21:37:33Z
Indexed on
2010/04/05
21:43 UTC
Read the original article
Hit count: 367
Considering the negative effects of document.write(), why are most tracking/marketing tags written using document.write()?
I've thought about it quite a bit, and the only respectable idea I've come up with is that by writing it client side, we're guaranteed the browser won't try to cache the resource. Is that it? Any other ideas?
© Stack Overflow or respective owner