JavaScript Floodlight tags

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="" width="1" height="1" border="0"/>

Would be edited as follows:
document.write("<img src='' width='1' height='1' border='0'/>");

Another example:
<img height="1" width="1" src=""/>

Becomes this:
document.write("<img height='1' width='1' src=''/>");

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.

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Clear search
Close search
Google apps
Main menu
Search Help Center