From db24dea98f8fcbb4c92ca5e3f02b2f03de8f8425 Mon Sep 17 00:00:00 2001 From: Harshad Mane Date: Tue, 6 Nov 2018 00:41:35 +0530 Subject: [PATCH] MarsMedia analytic adpater to use PREBID_GLOBAL than hard-coded pbjs (#3261) --- modules/marsmediaAnalyticsAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/marsmediaAnalyticsAdapter.js b/modules/marsmediaAnalyticsAdapter.js index 98c079ebff0..497078158e0 100644 --- a/modules/marsmediaAnalyticsAdapter.js +++ b/modules/marsmediaAnalyticsAdapter.js @@ -33,7 +33,7 @@ var marsmediaAnalyticsAdapter = Object.assign(adapter( success: function() {}, error: function() {} }, - JSON.stringify({act: 'prebid_analytics', params: events, 'pbjs': pbjs.getBidResponses(), ver: MARS_VERSION}), + JSON.stringify({act: 'prebid_analytics', params: events, 'pbjs': $$PREBID_GLOBAL$$.getBidResponses(), ver: MARS_VERSION}), { method: 'POST' }