Class Index | File Index

Classes


Namespace bc.metrics


Defined in: metrics.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Brightcove Metrics provides functions to measure interactions with applications.
Function Summary
Function Attributes Function Name and Description
 
bc.metrics.endContentSession(uri)
Stop tracking the users session for a given piece of content.
 
bc.metrics.startContentSession(uri, name)
Start tracking how long a user interacts with a given piece of content within the application.
Namespace Detail
bc.metrics
Brightcove Metrics provides functions to measure interactions with applications.
Function Detail
bc.metrics.endContentSession(uri)
Stop tracking the users session for a given piece of content. "endContentSession" should be called with the same URI that was called with its corresponding "startContentSession".
Parameters:
uri
A unique identifier for this content. This needs to match the URI that was passed into the startContentSession event.

bc.metrics.startContentSession(uri, name)
Start tracking how long a user interacts with a given piece of content within the application. For example the blog.js view tracks how long the user spends on each article by calling bc.metrics.startContentSession when they open the article and then bc.metrics.endContentSession when they either navigate away from the view or back to the list of the articles.
Parameters:
uri
A unique identifier for this content. Ideally a URI to the content on the web, but any unique ID will suffice.
name
A human readable name to be displayed in the analytics section of App Cloud.

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Nov 14 2012 15:33:32 GMT-0500 (EST)