
No analytics
Hi,
I have several video's hosted by JWplayer and everything works fine except for the analytics.
No data is showing up on the detailpage and the video is not listed on the All Content page.
On the analytics overview page the url where the video is embedded is shown with times embedded, played and completed.
The video's are embedded with following code.
// function to get URL parameters
$.urlParam = function(name){
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
return results[1] || 0;
}
// Get the video_id from the URL
var video_id = $.urlParam('video_id');
// Setup player, get video file via the GET Request
player.setup({
// For list of all parameters check:
// https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/#skin
file: "http://content.jwplatform.com/videos/"+video_id+".mp4",
autostart: "True"
});
// Set Volume to maximum
player.setVolume(100);
What am I doing wrong here?