From dc49763310306ef180c1dcfb1b3de2bb7abc1982 Mon Sep 17 00:00:00 2001 From: Tomas Roos Date: Tue, 12 Sep 2017 14:01:35 +0200 Subject: [PATCH] Allow SET_TARGETING to be used in AnalyticsAdapter --- src/AnalyticsAdapter.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AnalyticsAdapter.js b/src/AnalyticsAdapter.js index 6e0a74f39d1..3a54e1c230e 100644 --- a/src/AnalyticsAdapter.js +++ b/src/AnalyticsAdapter.js @@ -12,6 +12,7 @@ const BID_TIMEOUT = CONSTANTS.EVENTS.BID_TIMEOUT; const BID_RESPONSE = CONSTANTS.EVENTS.BID_RESPONSE; const BID_WON = CONSTANTS.EVENTS.BID_WON; const BID_ADJUSTMENT = CONSTANTS.EVENTS.BID_ADJUSTMENT; +const SET_TARGETING = CONSTANTS.EVENTS.SET_TARGETING; const LIBRARY = 'library'; const ENDPOINT = 'endpoint'; @@ -102,6 +103,7 @@ export default function AnalyticsAdapter({ url, analyticsType, global, handler } [BID_TIMEOUT]: args => this.enqueue({ eventType: BID_TIMEOUT, args }), [BID_WON]: args => this.enqueue({ eventType: BID_WON, args }), [BID_ADJUSTMENT]: args => this.enqueue({ eventType: BID_ADJUSTMENT, args }), + [SET_TARGETING]: args => this.enqueue({ eventType: SET_TARGETING, args }), [AUCTION_END]: args => this.enqueue({ eventType: AUCTION_END, args }), [AUCTION_INIT]: args => { args.config = config.options; // enableAnaltyics configuration object