Review Page Header 1
The Review Page Header 1 widget displays the header of a brand review page: brand logo, rating, a “guests are looking at this review” line, the welcome bonus and a call-to-action button. The brand is selected with the mandatory cloakedlink attribute; if it is empty, nothing is rendered.
Full attributes (all options)
guestnumber is injected in the Sanity translation wgt-reviewpageheader1-guests (text containing #guestnumber#). brandkey is normally left empty: it defaults to brand-<productCode>-<cloakedlink> and only needs to be set to override it.
Expand me...
<nw-blocks
id="reviewpageheader1"
cloakedlink="luckymate-casino"
language="fr"
country="CA"
rating="4.5"
brandkey="brand-casino-luckymate-casino"
guestnumber="147"
ctakey="cta-claim-bonus"
ctatext="Parier Maintenant"
ctacolors='["#1F9E1B", "#00893B"]'
ctahovercolors='["#11990C", "#02720E"]'
anchorid="review-header"
rel="nofollow"
target="_blank"
trackinglinktarget="homepage"></nw-blocks>
Minimal attributes (defaults applied)
Only cloakedlink is required. Defaults: rating 5.0, rel="nofollow", target="_blank", no guests line, dynamic id, tracking link without a target.
Expand me...
<nw-blocks
id="reviewpageheader1"
cloakedlink="luckymate-casino"></nw-blocks>
Rating fallback (invalid or greater than 5)
A rating that is empty, not a number or greater than 5 falls back to 5.0.
Expand me...
<nw-blocks
id="reviewpageheader1"
cloakedlink="luckymate-casino"
rating="7.2"></nw-blocks>
Guests line with CTA text from a translation key
ctakey is resolved from Sanity translations; ctatext, when set, overrides it.
Expand me...
<nw-blocks
id="reviewpageheader1"
cloakedlink="luckymate-casino"
language="en"
country="uk"
guestnumber="212"
ctakey="cta-claim-bonus"></nw-blocks>
Restricted jurisdiction (Light Mode)
In a restricted country promotional content (bonus) is stripped. Simulate with ?country=BE on the showcase URL.
Expand me...
<nw-blocks
id="reviewpageheader1"
cloakedlink="luckymate-casino"
language="nl"
country="BE"
guestnumber="147"></nw-blocks>
cloakedlink is mandatory: when empty, the header is not rendered at all.
Expand me...
<nw-blocks
id="reviewpageheader1"
cloakedlink=""
language="en"
country="uk"></nw-blocks>