Skip to content

Commit

Permalink
pass c1 and c4 tags with empty values instead of no tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wjoosen committed Sep 16, 2024
1 parent f6d149a commit 0709fc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nielsen/src/utils/Util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0709fc6

Please sign in to comment.