The default format for dynamic Floodlight tags is Iframe. Iframe tags enable users to assign third-party tags to the default or publisher sections of the Floodlight tag. However, there may be times when a site is unable to implement an Iframe tag, and in that case a JavaScript version of the tag can be supplied instead.
Note, however, that third-party pixels won’t work in their standard format in a JavaScript Floodlight tag. You’ll need to convert them into a format that will be read as part of a complete JavaScript tag.
For example, the following third-party pixel tag:
<img src="http://test.com/ads/?t=ap&px=123456&rnd=%n" width="1" height="1" border="0"/>
Would be edited as follows:
document.write("<img src='http://test.com/ads/?t=ap&px=123456&rnd=%n' width='1' height='1' border='0'/>");
Another example:
<img height="1" width="1" src="http://test.com/action/This_is_a_Test"/>
Becomes this:
document.write("<img height='1' width='1' src='http://test.com/action/action/This_is_a_Test'/>");
As shown in these examples, you must include document.write
, enclose the image tag within double quotes, and change all pre-existing double quotes in the tag to single quotes.