Flash Guidelines For Advertisers

Flash with Click-Layer and Embedded clickTAG
Flash files must be coded properly for proper click and impression tracking via our ad server. If you build your ad with correct embedded clickTAGs we will be able to track all impressions and click-throughs. If the codes are faulty, tracking may not work. You will find very complete instructions on building Flash Ads at flashclickTAG.com.

Flash Ad Requirements
All Flash files must be submitted as a .SWF file with accompanying back up gif/jpg for display on platforms and devices that do not accept Flash.

A target “landing page” URL must also be supplied for each Flash ad unit.

How does the clickTAG System Work
The clickTAG is method to tell the flashbanner where it should link to. The script says that if there is a variable clickTAG and it starts with “http:” the banner links to that address. Thereby the link address is passed in the HTML-code and not stored in the banner itself. This will permit clicks on the banner and banner impressions to be tracked.

clickTAG Requirements
Create an invisible click layer over the area that you want active/clickable to users, normally the entire ad surface. For that invisible click layer, assign the following action:

For ActionScript 3.0 (Flash 10)

function():void {
if (root.loaderInfo.parameters.clickTAG.substr(0,5) == “http:”) {
new URLRequest(root.loaderInfo.parameters.clickTAG), “_blank”

SEE TUTORIAL: 3.0 clickTAG Tutorial

actionscript 3.0

NOTE: If you name your button something other than MyClickTagButton you must edit this code to change the button name. Also, you should be aware that Flash 8, 9, and 10 treat the clickTAG parameter name case sensitively.

For Action Script 2.0 (Flash 8 and 9)

on (release) {
if (_root.clickTAG.substr(0,5) == “http:”) {
getURL(_root.clickTAG, “_blank”);

SEE TUTORIAL: 2.0 clickTAG Tutorial

actionscript 2.0

If that doesn’t work, here is an alternate script from Adobe:

on (release) {
if (clickTAG.substr(0,5) == “http:”) {
getURL (clickTAG, “_blank”);

IMPORTANT: the word “clickTAG” is CASE SENSITIVE. In your scripts, ALWAYS write this as clickTAG (“click” all lower case, and “TAG” all CAPS). Variations such as “ClickTAG”, “clicktag”, or “clickTag” will prevent the file from working.

Export the swf and test by opening the swf and clicking on the intended ‘active’ area. If a new browser or Explorer window opens when you click, the ad has a valid Click-Layer. (The ad must spawn a new browser window.) But there still may be issues that are not revealed until we test. We will advise you if the banner does not display correctly, or fails to track. If your .swf file does not work, we can do a complete code check starting at $30.00 if you request.

Please Note: Do not enter in destination URL, the embedded “click tag” will allow us to include the click-through URL when trafficked.

Please review these CLICK-TAG Instruction Pages:

Flash ClickTAG Tutorial
Adobe Flash Banner Designers Guide


clickTAG Case Sensitivity
Did you export the SWF file for your banner for Flash version 8, 9 or 10? These versions of Flash treat the clickTAG parameter name case sensitively. If you did not copy and paste the ActionScript code, verify that all occurrences of the parameter name are spelled exactly as clickTAG and if that does not work try a different capitalization. The standard is to use clickTAG, but your ad server might use clickTag, ClickTAG, ClickTag or some other variation. Make sure to change every occurrence of the parameter name in the ActionScript code though as they must all match exactly to work properly!

Embedded URLs
Another common mistake is to replace “http:” in the ActionScript code with a link. The purpose of that code is to verify the protocol of your link is HTTP. That is necessary to prevent your banner from being utilized in cross-site scripting attacks, so you definitely don’t want to alter or remove that! Where your link actually goes is in your ad server, which will dynamically inject the link into the banner at the time of serving. No link(s) should ever be embedded in the Flash banner directly.

Pop-up Blocking
Did you export the SWF file for your banner for Flash version 4, 5, 6, or 7? Internet Explorer versions 7 and 8 when used with Flash plugin version 10 do not permit SWF files exported for those older versions to use _blank for the target frame. They are considered to be pop-up windows and blocked. The only workarounds are to use _top for the target frame or to export the SWF file for Flash 8 or 9.

Tags: , ,