Skip to content

Commit

Permalink
Update nobidAnalyticsAdapter.js
Browse files Browse the repository at this point in the history
Fixes #11668
  • Loading branch information
patmmccann authored Jun 19, 2024
1 parent 4bf11bd commit ddad24a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/nobidAnalyticsAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {deepClone, logError, getParameterByName} from '../src/utils.js';
import {ajax} from '../src/ajax.js';
import { logMessage } from '../src/utils.js';
import {getStorageManager} from '../src/storageManager.js';
import adapter from '../libraries/analyticsAdapter/AnalyticsAdapter.js';
import { EVENTS } from '../src/constants.js';
Expand All @@ -26,8 +27,7 @@ const {
AD_RENDER_SUCCEEDED
} = EVENTS;
function log (msg) {
// eslint-disable-next-line no-console
console.log(`%cNoBid Analytics ${VERSION}`, 'padding: 2px 8px 2px 8px; background-color:#f50057; color: white', msg);
logMessage(`%cNoBid Analytics ${VERSION}: ${msg}`);
}
function isJson (str) {
return str && str.startsWith('{') && str.endsWith('}');
Expand Down

0 comments on commit ddad24a

Please sign in to comment.