Skip to content

AdvertiserDisclosure

Status: Stable

A description that discloses how NerdWallet works with advertisers.

Variants

Default

Investing

On a dark background

Props

<AdvertiserDisclosure>

enableAnalytics

false | true | { onClick: boolean; onHover: boolean; }
Flag to enable bedrock analytics tracking. The shape is legacy. only truthiness of prop is checked now.

children

Deprecated
ReactNode
As of v5.6 allowing custom text or elements to render within the Popover will not be supported. See Changelog for details.

color

Deprecated
string
As of v5.5 changing link color will not be possible. See Changelog for details.

label

Deprecated
string
As of v5.5 changing label will not be supported. See Changelog for details.

onBackground

boolean
Flag to indicate if component is not on a white background.

shouldDelay

Deprecated
boolean
Now a no-op. Flag to set a longer delay on the appearance of the Popover.

type

"credit_cards" | "investing"
String to indicate which type of advertiser disclosure message to render. Stems from the canonical marketplace PRODUCT_TYPE fields. Currently supports
0) credit_cards (default) 1) investing
More types can be added as needed.