diff --git a/integrations/June/browser.js b/integrations/June/browser.js index e5b9ae483a..0020575033 100644 --- a/integrations/June/browser.js +++ b/integrations/June/browser.js @@ -8,7 +8,10 @@ import ScriptLoader from "../ScriptLoader"; import { getDestinationExternalID } from "../utils/commonUtils"; class June { - constructor(config) { + constructor(config, analytics) { + if (analytics.logLevel) { + logger.setLogLevel(analytics.logLevel); + } this.name = NAME; this.apiKey = config.apiKey; }