AdSpeed Logo
High Performance Ad Server
Plan starts at $9.95 per month

Help Center > Working in AdSpeed > Banner, Richmedia, and Text Ads

How do I track click for Flash/SWF ads?

Flash ads (SWF files) need to a small preparation to support click tracking through our ad server. We use the industry-standard clickTAG parameter. After the conversion to use clickTAG, if you click directly in the SWF movie, it will link to an error URL (often ends with "undefined"), which is normal, because the file is expecting a dynamic URL to be provided from outside. Once you setup this SWF file into our system with an appropriate destination URL, clicking on it will go to the correct address.

Online Converter

In many cases, our system can automatically modify SWF files to track clicks. In your Flash ad, you only need to put in the static destination URL. You can simply enter the SWF file when creating a new ad through the control panel or you can also convert the SWF file for click tracking using the form below. Please upload the original Flash file (with a static link to the destination website) and our system will convert this file to use clickTAG and you will download the updated SWF file to your computer.
*(limit 500KB)
* required fields

Compatibility

The online conversion program is designed to be compatible with many SWF settings. However, if you have the modified SWF file and it still does not work properly (for example: does not open to a new window, links to the correct destination or tracks clicks), please follow the manual conversion instructions below to prepare the file.

Manual Conversion

If you would like to understand the process, these are tutorials from Macromedia and MSN. Note: for greater compatibility, our system uses "_root.clickTAG" instead of "clickTAG". Because Flash ads can be served within IFRAMEs, it's best to specify target "_top" for the getURL function.

The original ActionScript code should have something like this: After the conversion for click tracking, it should look like this:

Sample Code

Next you will find 2 sample Macromedia .FLA files that contain the above ActionScript code:
  • Original files with a fixed URL and without click tracking: sample.fla (SWF: sample.swf)
  • After conversion, the files use clickTAG parameter for dynamic click tracking: sample-clickTAG.fla (SWF: sample-clickTAG.swf)
  • Also, please use this template to manually convert to clickTAG if our system failed to convert your SWF file automatically.

Request Assistance

If you need our assistance in preparing or debugging the ad, please send us the original source FLA file or at least the ActionScript snippet. With this approach, please be patience as it could take up to 72 hours for us to process the request.
Was this information helpful? Yes / No

Other articles in Banner, Richmedia, and Text Ads

Cannot find an answer for your question? Ask our Customer Care team

Related articles

Client Login

Testimonials

"We at Baronelk Productions would like to thank you for this great free service. It allows us to advertise our service providers, and to recognize other web sites that we feel worthy. Thanks once again. "
-TheK

i

Quick Poll

What do you like best about AdSpeed?





 
Support  |  Contact Us  |  Sitemap  |  Careers
Copyright © 2000-2008 AdSpeed™. All rights reserved. Privacy Statement | Terms of Service