Tracking events

Event tracking in Flash creatives

Log events allow you to add custom FlashVars in addition to the clickTAGs for event logging purposes. You specify the names of the variables here, as a comma-separated list:

These names will be added as extra FlashVars with event logging URLs to EmediateAd as values. The ActionScript of the Flash file may call these URLs when a special event is triggered to log it in EmediateAd. The event logs are available in standard reports by selecting the Events option under Extra measurements.

Example: expand, collapse

Event tracking in HTML creatives

When the event occur in the creative, make sure to trigger the URL where content unit, campaign and creative ID are included, as well as a value for EASevent.


http://adserver/eas?cu=[content unit id]&camp=[campaign id]&no=[creative id]
&ord=[random number]&EASevent=[event]

These statistics can give important information about how users interacted with the ad. They are available in the standard reports and can be viewed by selecting the Events option under Extra measurements in the reporting details.

Event tracking "the old way"

  • Book a campaign to host the flash creative.
  • Book another campaign to run in parallel and add to it an image creative with a jpg pixel. Note that this campaign needs no placement: it will be used just for the tracking purpose.
  • In the campaign hosting the pixel, under Tasks, generate a 3rd party code and copy the campaign URL you get in the tag. This should give you a string similar to this:http://adserver/eas?camp=123456
  • Now add key word strings like this, kw=keyword, to the URL, e.g.http://adserver/eas?camp=123456;kw=page1 or http://adserver/eas?camp=123456;kw=button1 etc., producing one unique URL for each action/event in the flash that are to be tracked. Note that key word could be any word of your choice, and that the system is not capital sensitive. If you would like to separate clicks from impressions you can add ty=ct to the links you use to measure clicks, e.g. http://adserver/eas?camp=123456;kw=button1;ty=ct. If nothing is added, the system will categorize the calls through the URL as impressions.
  • Now, in each place in the fla file where you want tracking to occur, e.g. in each frame in the fla file where you want to count the impressions or in the click action of each link/button where you want the clicks to be counted, you add action script code like this:

    where _root.movieClip could be any movie clip where you want the pixel from the pixel campaign to be loaded, and the URL, of course, is one of those generated from the pixel campaign, as described above. Make sure the pixel won’t be visible to the user, if that’s not your intention.

  • Add the Flash creative to the campaign created in step 1 by creating HTML using the Flash template.
  • When you pull a report of the pixel campaign, make sure to check the box “key word 1”. This will give you the statistics for how many times the pixel has been loaded with the different key words, and hence show how many times the different actions and events have occurred.
Cxense © 2012 | Support