File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ export const INVALIDATE_CMAB_CACHE = 'Invalidating CMAB cache for user %s and ru
6969export const CMAB_CACHE_HIT = 'Cache hit for user %s and rule %s.' ;
7070export const CMAB_CACHE_ATTRIBUTES_MISMATCH = 'CMAB cache attributes mismatch for user %s and rule %s, fetching new decision.' ;
7171export const CMAB_CACHE_MISS = 'Cache miss for user %s and rule %s.' ;
72+ export const ODP_IDENTIFY_NOT_DISPATCHED = 'ODP identify event is not dispatched (fewer than 2 valid identifiers).'
7273
7374export const messages : string [ ] = [ ] ;
7475
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import { Maybe } from '../utils/type';
3232import { sprintf } from '../utils/fns' ;
3333import { SERVICE_STOPPED_BEFORE_RUNNING } from '../service' ;
3434import { Platform } from '../platform_support' ;
35+ import { ODP_IDENTIFY_NOT_DISPATCHED } from '../message/log_message' ;
3536
3637export interface OdpManager extends Service {
3738 updateConfig ( odpIntegrationConfig : OdpIntegrationConfig ) : boolean ;
@@ -232,7 +233,7 @@ export class DefaultOdpManager extends BaseService implements OdpManager {
232233 // Identify requires 2+ identifiers to link (e.g., vuid + fs_user_id).
233234 // A single identifier has no cross-reference value and generates unnecessary traffic.
234235 if ( identifiers . size < 2 ) {
235- this . logger . log ( LogLevel . Debug , 'ODP identify event is not dispatched (fewer than 2 valid identifiers).' ) ;
236+ this . logger ?. debug ( ODP_IDENTIFY_NOT_DISPATCHED ) ;
236237 return ;
237238 }
238239
You can’t perform that action at this time.
0 commit comments