The Players module provides the ability to easily integrate Brightcove Players with Adobe Analytics. This allows event tracking data to be sent to an Adobe Analytics account for reporting purposes.
To configure the integration, the following tasks need to be performed:
Note that when the integration is configured, only analytics for video events will be passed to Adobe Analytics.
Every Brightcove event that will be tracked must be created as a Custom Success Event in Adobe Analytics. The event IDs from Adobe will then be used inside the Players module. This allows Brightcove event data to be passed to Adobe Success events. Review the list of events below to determine which events you want to track.
After you determine which events you want to track, Custom Success Events must be created in Adobe Analytics. To create Custom Success Events in Adobe Analytics, follow these steps.
The image below shows Custom Success Events created (event7 - event15) for each of the Brightcove events.
Parameters carry additional data and are passed with events. Every Brightcove parameter that will be recorded must be created as a Traffic Variable in Adobe Analytics. The parameter named will then be used inside the Players module. This allows Brightcove parameters to be passed to Adobe Traffic Variables. Review the list of parameters below to determine which ones you want to capture.
After you determine which parameters you want to track, Traffic Variables must be created in Adobe Analytics. To create Traffic Variables in Adobe Analytics, follow these steps.
The image below shows Traffic Variables created for each of the Brightcove parameters.
You may want to log in to your Adobe Analytics account to copy needed information from there to the Players module. To configure Adobe Analytics event tracking for a player, follow these steps:
This is the value that should be entered into the field for the Player Load (bcvideo_player_load) event in the Players module.
Therefore, prop1 should also be entered into the corresponding field for the parameter in the Players module.
Make sure to publish the changes to the player.
If the player will be used in a Gallery In-Page experience, some configuration of the In-Page experience is required:
window.s_gi = window.top.s_gi
Remember to republish the experience.
To begin sending data to Adobe Analytics, data must be sent to a report suite to display in reporting. To successfully implement a page with code to collect data, you must have access to your hosting servers to upload new content to your website. It is also useful to have an existing site to implement code.
The following steps walk through a basic Adobe Analytics implementation.
AppMeasurement.js
and VisitorAPI.js
are the relevant files when implementing Analytics.AppMeasurement.js
and VisitorAPI.js
. These core JavaScript files must be hosted on a web server that is accessible to all pages on your site. You need the path to these files when adding them to your pages.AppMeasurement.js
and VisitorAPI.js
on all site pages with a Brightcove Player by adding the following lines of code in the <head>
or <body>
tag on each page. VisitorAPI.js
must be included before AppMeasurement.js
. These lines need to be added to your web pages.
<script language="JavaScript" type="text/javascript" src="https://Insert Domain and path to file here/VisitorAPI.js"></script> <script language="JavaScript" type="text/javascript" src="https://Insert Domain and path to file here/AppMeasurement.js"></script>
To confirm that Brightcove event data is being captured in Adobe Analytics, follow these steps.
If data is not appearing, verify that the URLs to the AppMeasurement.js
and VisitorAPI.js
files are valid. Check the browser console to make sure no 404 errors are appearing. Also, ad blockers may prevent data from being sent to Adobe Analytics.