This module provides a JavaScript integration that will track interactive video click events utilizing Eloqua Asynchronous Visitor Tracking Scripts. Once the setup process is complete all videos in your Brightcove Interactivity group will be tracked using the integration.
Requirements
- You must be a current Oracle Eloqua customer
- You must be an Enterprise Brightcove Interactivity customer and have the Eloqua add-on added to your account; contact Brightcove Support to get that added
One-time setup
- Obtain your base Eloqua tracking script and provide it to your Brightcove Account Manager. It should look something like below (your code should have a numerical value in place of ‘xxxxxxxxx’).
<script type="text/javascript">
var _elqQ = _elqQ || [];
_elqQ.push(['elqSetSiteId', 'xxxxxxxxx']);
_elqQ.push(['elqTrackPageView']);
(function () {
function async_load() {
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true;
s.src = '//img.en25.com/i/elqCfg.min.js';
var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
}
if (window.addEventListener) window.addEventListener('DOMContentLoaded', async_load, false);
else if (window.attachEvent) window.attachEvent('onload', async_load);
})();
</script> - Your Brightcove Account Manager will configure your account and provide a test page. The implementation utilizes the
_elq.trackEvent(URL)
method to post data to Eloqua. Brightcove Interactivity parameters are appended to the end of the URL for the page where the video is served.For example, if the video is embedded on the page
http://www.domain.com/mypage
, and someone clicks on a call-to-action at 53 seconds into the video, it will be recorded as_elq.trackEvent("http://www.domain.com/mypage?hy_src=hapyak&hy_action=click&hy_time=53")
- You will need to verify the data flow from the test page to your Eloqua account. Once the data is verified you will have the opportunity to make requests for customizations to the data format. After any customizations are made and final approval is received from you, the implementation will be considered certified and ready for production use.