Moat analytics pre-integration

This demo shows how you can use the MOAT analytics pre-integration.

This demo can be implemented as follows:

Player setup

// Configure MOAT analytics
var containerElement = document.querySelector('.player');
var player = new THEOplayer.Player(containerElement, {
                    libraryLocation : 'https://cdn.theoplayer.com/dash/theoplayer/',
                    analytics: [{
                        integration: 'moat',
                        partnerCode: 'replace_with_moat_partner_code'
                    }]
                }
            );
player.source = {
    sources: '//cdn.theoplayer.com/video/elephants-dream/playlist.m3u8',
    ads: [{
        integration: 'google-ima',
        sources: 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator='
    }]
};

 

Get Started