Getting Omniture SiteCatalyst Clickmap Working with Flash

Tracking flash is a challenge as it requires a developer to not only know about how to implement web analytics software within the component object but it also normally requires extra work which can sometimes slow down the delivery cycle.  Adding clickmap overlays to these flash objects also was a challenge but there are five things to remember to make the process a lot easier:

  1. The first thing to make sure of is that the s.trackClickMap variable (included in the config text code that you receive when you generate code for the given reporting suite) is set to “true”.
  2. There are two ActionSource implementation methods, as explained in the ActionSource implementation guide. One option is to drag and drop the ActionSource component onto the stage in Flash; the other is to instantiate the ActionSource object programmatically, without dragging and dropping onto the stage. Only one of these methods should be used; it is incorrect to instantiate the object programmatically and drag and drop the component onto the stage. Doing so will prevent ClickMap data from displaying properly. If this has already been done in your Flash application, please remove either the programmatic instantiation of the object, or remove the component from the stage.
  3. The s.movieID variable in your ActionSource code must be set to the same value as the “id” attribute in the <object> tag and the “name” attribute in the <embed> tag in the HTML on the page in which the Flash application is embedded. An example of this is available in “ClickMap Support” section of the ActionSource implementation guide, which can be downloaded by clicking the link in the first paragraph of this article.
  4. If you have SiteCatalyst JavaScript code implemented on the page in which the Flash application is embedded, the s.pageName value in your ActionSource code must be exactly the same as the s.pageName value in the JavaScript code on the page.
  5. The s.trackClickMap variable must be set to “true.”
  6. The <object> tag must contain the “wmode” parameter, and this parameter must be set to “transparent.” The <embed> tag should also have a “wmode” attribute, which must also be set to “transparent.”



Written by:

Omniture, SiteCatalyst, Web Analytics

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

One Response to “Getting Omniture SiteCatalyst Clickmap Working with Flash”

Leave Comment

(required)

(required)