Daily Press

clickTags



To track a Flash creative's performance, the FLA file must be embedded with the variable clickTag as its click through URL. The following details how to apply this tracking code in the FLA file.


» Download clickTags here

Tagging Flash (FLA) Creative


Use the getURL() function in the Object Actions panel to write the tracking code.

1) Add an extra layer to the top of the layer panel.

2) Select that layer with the Selection tool.

3) Choose the Rectangle tool and cover the creative throughout the entire timeline of the movie.

4) Convert the rectangle into a "Button" symbol.

5) Make the rectangle transparent: Effect panel > Alpha > 0%

6) In the Object Actions panel, associate the following action to the transparent rectangle:

• On Mouse Event: Release
• GetURL: clickTag
• Window: _blank
• Check the Expression box so there are no quotes around clickTag (see picture below).

The script should look like this:

on (release) {
getURL (clickTag, "_blank");
}


• Tribune AdOps will build the HTML code that passes the clickTag variable with the landing URL to track performance.


NOTE: Do not hard-code the URL into the Flash button. This will bypass the DFP system and clicks will not be recorded.
Please note the following items to check to ensure the SWF file works properly:

Assign the ActionScript to the button object.
Make sure the clickTag button layer is at the top of the layer panel. <
No embedded click-throughs other than the getURL command for web links that you want to be tracked.
All buttons that use a getURL() command must exist directly on the main stage.
Only implement the function "on (release)" — all other controls (on press, on rollOver, etc.) are not compatible with DFP.
Include the attribute "_blank" so a new browser window opens upon click.
Since passing the click variable is case sensitive, the click variable must be written as clickTag (NOT clickTAG).

Final Requirements


All advertisers wishing to use Flash creatives must submit the following before the two business day testing period can begin:

• SWF file
• Default GIF or JPG file (this file will display for users who don't have the flash plug-in installed.)
• Click-through URL

Tracking Multi-Click Flash


Multi-click Flash creative must be set up in the following manner in order for our tracking script to be implemented. Each clickable button uses the url variables, like so:

Button One, for url1, would be:
on (release) {
if (_level0.clickTag .substr(0,5) == "http:") {
getURL (_level0.clickTag + "http://www.YOUR-URL-GOES-HERE.com", "_blank");
}}
Button Two, for url2, would be:
on (release) {
if (_level0.clickTag .substr(0,5) == "http:") {
getURL (_level0.clickTag + "http://www.YOUR-SECOND-URL-GOES-HERE.com", "_blank");
}}
And so on, for each additional button. This prepends our tracking URL in front of the destination URL.

• Each click instance should be put on its own layer. Do not put the clicks all on one layer.
• Please provide the URLs and which clickTag each belongs to in a separate text file.

NOTE: We recommend using a maximum of five URLs because most web browsers have limits to the URL length that it can request. Click tracking URLs in Flash can get very long as they must contain ad tracking data and redirect information.

See the sites below for more information:

http://support.microsoft.com/default.aspx?scid=KB;en-us;q208427
http://www.asp101.com/tips/index.asp?id=102
http://www.webopedia.com/TERM/q/query_string.html


Flash CPU Usage Guidelines


Macromedia's Flash Player utilizes a computer's CPU (central processing unit) in handling all animation, masking, and computation contained within a Flash file. If a Flash file contains heavy amounts of mathematical computation for elements such as animation, loops, or timers, it will require a much greater percenTag e of CPU usage. As a result, the Flash file is forced to compete with other Flash files and other applications for CPU usage, which causes all Flash elements on the page to slow down significantly.


Below are some common reasons why CPU utilization can be very high in Flash creative.

• Frame Rate is over 18 frames per second. Reducing the number to 18 does not degrade visual performance.
• Layered animated sequences animating at the same time.
• Animated sequences set to be translucent and animating on top of an imported graphic (ex: jpeg, png, etc.).
• Action Script-generated events set to randomly generate (ex: fog and rain).
• Imported graphics scaled up over a long period of time.
• Masking and animated masking techniques can also require a large amount of CPU resources.

There are several ways to help cut down on the CPU usage your Flash file requires. One way is to limit the amount of "math-based" animation - animation which is controlled by mathematical-based action script. Another way is to limit or eliminate looping functions in action script. Looping functions are usually associated with timers. We recommend limiting Flash CPU utlization to 65%.

One way to estimate how CPU intensive your Flash file may be is to open the "Task Manager" (control+alt+delete) and view the "Performance" tab -- this gives a graphical estimate of CPU usage. With the Task Manager open, then open your SWF file in the Flash player - you may see a spike as your Flash file is animating. A small spike of 20-30% is normal; if your CPU Usage jumps up to 80-100%, the Flash file may need revising until it uses less CPU resources.


Notes, Terms and Conditions

• Limit loops to three (3).
• Your Flash file must not exceed 30K
• 18 Frames Per Second (FPS)
• All sound must be user initiated
• Testing period is two business days and begins when all ad materials are submitted.
• Please allow two business days for any Flash creative change/replacement.