'use strict'; var DCP2107campaignOpts = { saveToLocal: false, // flag to save campaign's index.html to local storage. Default as false. expireDate: '', // is end date of using index.html from local storage, asset will be fetch from S3 and reset local storage value. Default as EMPTY. lifeCycle: 0 * 24 * 60 * 60 * 1000, // alternatively, set life span of local asset once campaign first time loaded to page. Default as 0 day. agentId: 'DCP-2107', // campaign ID. ESSENTIAL!!! author: 'Michael Harvey', selector: 'body', // location of campaign will land. ESSENTIAL!!! injectType: 'append', // options are: 'before', 'prepend', 'append', 'after', 'replace'. ESSENTIAL!!! campaignType: 'live', // options are: 'demo', 'live', 'stopped'. Default as 'demo'.ESSENTIAL!!! description: 'Vodafone TV cart and checkout hack', message:[ /* example { // 'receiver': 'DCP-addCube', // 'actions':['stop'] } */ ], dependencies:[] }; //load campaign via unified loader var crowdFinderDCP2107 = setInterval(function () { if(croWD){ clearInterval(crowdFinderDCP2107); crowdFinderDCP2107 = null; croWD.croWDloaderClient.init(DCP2107campaignOpts); } }, 1000);