diff --git a/packages/shared/src/components/cards/ad/common/AdMeasurement.tsx b/packages/shared/src/components/cards/ad/common/AdMeasurement.tsx index 5ff7ed2e986..d05594c18cd 100644 --- a/packages/shared/src/components/cards/ad/common/AdMeasurement.tsx +++ b/packages/shared/src/components/cards/ad/common/AdMeasurement.tsx @@ -57,6 +57,8 @@ interface FramedProps { tags: AdMeasurementTag[]; overlay: boolean; gdprApplies?: boolean; + consentString?: string; + addtlConsent?: string; } /** @@ -68,6 +70,8 @@ const FramedMeasurement = ({ tags, overlay, gdprApplies, + consentString, + addtlConsent, }: FramedProps): ReactElement => { const iframeRef = useRef(null); const [frameReady, setFrameReady] = useState(false); @@ -106,10 +110,12 @@ const FramedMeasurement = ({ type: 'init', tags, gdprApplies, + consentString, + addtlConsent, }, frameOrigin, ); - }, [frameReady, tags, gdprApplies, frameOrigin]); + }, [frameReady, tags, gdprApplies, consentString, addtlConsent, frameOrigin]); return (