'use strict'; var DCP1596campaignOpts = { 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-1596', // campaign ID. ESSENTIAL!!! author: 'Vito Tang', 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: 'On shopping cart, make [Need assistance?] banner open by default. ', message:[ /* example { // 'receiver': 'DCP-addCube', // 'actions':['stop'] } */ ], dependencies:[] }; //load campaign via unified loader var crowdFinderDCP1596 = setInterval(function () { if(croWD){ clearInterval(crowdFinderDCP1596); crowdFinderDCP1596 = null; croWD.croWDloaderClient.init(DCP1596campaignOpts); } }, 1000);