From 0709fc6680260aff073a645756a5b12ca8b42fd9 Mon Sep 17 00:00:00 2001 From: Wonne Joosen Date: Mon, 16 Sep 2024 09:32:26 +0200 Subject: [PATCH] pass c1 and c4 tags with empty values instead of no tags --- nielsen/src/utils/Util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nielsen/src/utils/Util.ts b/nielsen/src/utils/Util.ts index 38d9c2f..f2c3b3a 100644 --- a/nielsen/src/utils/Util.ts +++ b/nielsen/src/utils/Util.ts @@ -45,13 +45,13 @@ export function buildDCRContentMetadata( const dcrContentMetadataCZ: DCRContentMetadataCZ = { ...dcrContentMetadata, ['crossId1']: crossId1, + ['nol_c1']: `p1,${c1 ?? ''}`, ['nol_c2']: `p2,${c2 ?? ''}`, + ['nol_c4']: `p4,${c4 ?? ''}`, segB: segB, segC: segC ?? '', hasAds: hasAds }; - if (c1) dcrContentMetadataCZ['nol_c1'] = `p1,${c1}`; - if (c4) dcrContentMetadataCZ['nol_c4'] = `p4,${c4}`; return dcrContentMetadataCZ; } if (country === NielsenCountry.US) {