Interaction Tracker

The interaction tracker filters 'Accidental Interactions' ensuring only true dwell times are recorded in the Media Console. The component checks the 'Accidental Interaction Time' has past and then fires the function _root.interactionStarted();. By placing your code inside this function you can ensure that the functionality only occurs for intentional interactions.


Explore the component settingsExplore the interaction tracker's settings

Interaction Tracker v 2.0.2

Open Interaction Tracker inspector

 

Settings

Descriptions

Accidental interaction time

The number of seconds to wait before registering a intentional interaction.

Register accidental interaction with an event Fires an event every time the user accidentally interacts with the creative. You must manually assign the event description in the links and descriptions layer of the FLA.
Interaction time and accidental interaction This option tracks both the amount of time spent interacting with the creative as well as firing the accidental interactions as defined above.
Accidental interaction Selecting this option will track only the accidental interactions made by the user.

The component sets a boolean variable ‘_root.bIsAccidental' to true (if the interaction is within the 'Accidental interaction time'), or false and fires the function‘_root.interactionStarted()’when the 'Accidental interaction time' has past.


function interactionStarted():Void{
// Place the code here...
}

Broadcast Events

The Interaction Tracker broadcasts two events to a _root level function called MRM_component_events.

Event Type

Description

onIntentionalInteraction Fires when the interaction is intentional
onAccidentalInteraction Fires when the interaction is accidental

 

To setup the timeline function you can use the action hints panel and select MRM_component_events

 

Component Action Hints

 


function MRM_component_events(evtObj:Object)
{
	if(evtObj.type == "onIntentionalInteraction")
	{
		trace("The interaction was intentional");
	}
}

 

How to setup the interaction tracker component

If you want to track accidental interactions only in the Media Console

  1. Navigate to the links and descriptions layer and add in your event description for the accidental interaction
  2. Open the component inspector
    1. Set the time you consider to be an accidental interaction (e.g. 0.5 [in seconds])
    2. Check the option to register the accidental event and enter the index of the event you entered in the links and descriptions.
    3. Check the 'Accidental Interactions' radio button.

If you want to track the interaction time only in the Media Console

  1. Set the accidental interaction time to zero
  2. Check the interaction time and accidental interactions radio button

If you wish to track both the interaction time and the accidental interaction time in the Media Console

  1. Navigate to the links and descriptions layer and add in your event description for the accidental interaction
  2. Open the component inspector
    1. Set the time you consider to be an accidental interaction (e.g. 0.5 [in seconds])
    2. Check the option to register the accidental event and enter the index of the event you entered in the links and descriptions.
    3. Check the 'Interaction time and accidental interaction' radio button.

 

Help Files

The component help files are available offline if no internet connection is available.

Video Tutorials

When there is a video tutorial available for the component an extra button is revealed which will load the demo into the components inspector panel. (Please note - This will not appear when working offline.)