Note: make sure you have created and shared at least one gallery with customers or colleges in order for this information to populate
Raw Analytical data can be exported for a period of 31 days at a time. You can change the date range, however, you can't collect more than 31 days per export.
To get the data you need, adjust the time period, and select the
This will download a CSV file that contains all of the analytical data in the date range you have selected.
If you like to access and process this data directly from your server without the need to download it manually everytime, just right-click on the
". This URL can be downloaded using a server side script and be processed on your server. Note that the date range that you've selected is encoded in this URL in a relative terms meaning that if you choose to download the last week then this URL will download the last week even in the future. This allows you to use the same link on your server side.
Column name - Description:
Here is a javascript function to calculate unique seconds and the total_percentage_watched:
function calc_unique_seconds(hm) {
var totaluniqueseconds = 0;
var pair = hm.split(",");
for (var i = 0; i < pair.length; i++) {
var prange = pair[i].split(":");
var range = prange[0].split("-");
if (range.length == 1)
totaluniqueseconds++;
else
totaluniqueseconds += parseInt(range[1]) - parseInt(range[0]) + 1;
}
return totaluniqueseconds;
}
var total_percentage_watched = calc_unique_seconds("10-20:2,21-30,31:3") / 40;
Note that the same email can appear under more than one ckid if the viewer is using multiple devices to view the content (ex. Desktop and Mobile)