Migration Notice: We are transitioning from <bw-widget> to <nw-blocks> tags. While both are currently supported for backward compatibility, <nw-blocks> is now the recommended tag for all new implementations. Existing <bw-widget> implementations will continue to function.
The General Info widget displays comprehensive casino or betting site information in an organized, expandable card format. It shows essential details like website URL, game types, payment methods, mobile apps, and founding year - perfect for casino review pages and comparison sections.
Key Features:
| Attribute | Type | Required | Default | Description |
|---|---|---|---|---|
id |
string | Yes | - | Must be “General_Info” |
cloaked-link |
string | Yes | - | Brand identifier/cloaked link for fetching brand data |
language |
string | No | “en” | ISO 639-1 language code for localization |
country |
string | No | Auto-detected | ISO 3166-1 country code (supports state format: US-CA) |
country-state |
string | No | - | State/province code for US/Canada (auto-parsed) |
heading-key |
string | No | “General Informations” | Main heading text |
sub-heading |
JSON array | No | Default labels | Array of field labels (6 items) |
tracking-target |
string | No | “homepage” | Tracking parameter for analytics |
target |
string | No | “_blank” | Link target attribute |
rel |
string | No | “nofollow” | Link rel attribute |
items-displayed |
number | No | 3 | Number of items visible before “Show More” |
referer |
string | No | - | Referrer tracking parameter |
configuration |
JSON | No | {} | Styling configuration object |
| Property | Type | Default | Description |
|---|---|---|---|
heading-text-color |
string | “#b1b1b1” | Color of the main heading text |
sub-heading-text-color |
string | “#b1b1b1” | Color of the field labels (sub-headings) |
heading-font-size |
string | “14px” | Font size for main heading |
sub-heading-font-size |
string | “14px” | Font size for field labels |
The widget displays six standard information fields:
| Field | Description | Data Source |
|---|---|---|
| Website | Casino website URL (clickable link) | Brand profile |
| Game Types | Available game categories (Slots, Live Casino, etc.) | Brand profile |
| Deposit Methods | Accepted payment methods for deposits | Brand profile |
| Withdrawal Methods | Available withdrawal options | Brand profile |
| Apps | Mobile app platforms (iOS, Android) | Brand profile |
| Founded Year | Year the casino was established | Brand profile |
Display Format:
Show More/Less Toggle:
items-displayed fields (default: 3)Responsive Behavior:
Website Link Features:
URL Structure:
/go/{cloaked-link}/{tracking-target}?wid={widget-id}&trackingData={data}&referer={referer}
Override default field labels using sub-heading attribute:
<nw-blocks
id="General_Info"
cloaked-link="..."
sub-heading='[
"Website",
"Game Types",
"Deposit Methods",
"Withdrawal Methods",
"Apps",
"Founded Year"
]' >
</nw-blocks>
Requirements:
<nw-blocks
id="General_Info"
cloaked-link="betsson-casino"
heading-key="Casino Details"
tracking-target="review-page"
items-displayed="6" >
</nw-blocks>
<nw-blocks
id="General_Info"
cloaked-link="fresh-casino"
heading-key="Quick Facts"
items-displayed="3"
configuration='{
"heading-font-size": "16px",
"sub-heading-font-size": "13px"
}' >
</nw-blocks>
<nw-blocks
id="General_Info"
cloaked-link="leovegas-casino"
tracking-target="homepage"
configuration='{
"heading-text-color": "#FFFFFF",
"sub-heading-text-color": "#B0B0B0",
"heading-font-size": "22px",
"sub-heading-font-size": "15px"
}' >
</nw-blocks>
<nw-blocks
id="General_Info"
cloaked-link="draftkings-casino"
country="US"
heading-key="New Jersey Casino Info"
tracking-target="nj-review" >
</nw-blocks>
<nw-blocks
id="General_Info"
cloaked-link="cresus-casino"
language="fr"
country="FR"
heading-key="Informations Générales"
sub-heading='["Site Web", "Types de Jeux", "Méthodes de Dépôt", "Méthodes de Retrait", "Applications", "Année de Création"]' >
</nw-blocks>
<nw-blocks
id="General_Info"
cloaked-link="betmgm-casino"
items-displayed="2"
configuration='{
"heading-font-size": "18px",
"sub-heading-font-size": "14px"
}' >
</nw-blocks>
items-displayed="6") for comprehensive infoitems-displayed="2" for minimal initial viewheading-key for international audiencessub-heading labels in local languagelanguage for proper translationscountry for region-specific payment methodsrel="nofollow" for affiliate compliancetarget="_blank" for external linkstracking-target to segment traffic sourcesreferer parameter to track widget placementFor US and Canadian markets:
<!-- New Jersey, USA -->
<nw-blocks id="General_Info" cloaked-link="..." country="US" >
</nw-blocks>
<!-- Ontario, Canada -->
<nw-blocks id="General_Info" cloaked-link="..." country="CA-ON" >
</nw-blocks>
The widget automatically:
<nw-blocks
id="General_Info"
cloaked-link="betsson-casino"
language="sv"
country="SE"
heading-key="Allmän Information"
tracking-target="sv-review"
items-displayed="6"
target="_blank"
rel="nofollow"
referer="review-section"
sub-heading='["Webbplats", "Speltyper", "Insättningsmetoder", "Uttagsmetoder", "Appar", "Grundat År"]'
configuration='{
"heading-text-color": "#1A1A1A",
"sub-heading-text-color": "#666666",
"heading-font-size": "24px",
"sub-heading-font-size": "16px"
}' >
</nw-blocks>
Adjust visible fields based on layout:
<!-- Compact: Show essentials only -->
<nw-blocks id="General_Info" cloaked-link="..." items-displayed="3" >
</nw-blocks>
<!-- Standard: Show most fields -->
<nw-blocks id="General_Info" cloaked-link="..." items-displayed="5" >
</nw-blocks>
<!-- Full: Show all fields (no toggle) -->
<nw-blocks id="General_Info" cloaked-link="..." items-displayed="6" >
</nw-blocks>
Brand data is fetched from Sanity CMS:
{
brand: {
cloakedLink: "betsson-casino",
name: "Betsson Casino",
website: "www.betsson.com",
gameTypes: ["Slots", "Live Casino", "Table Games", "Sports Betting"],
depositMethods: ["Credit Card", "PayPal", "Skrill", "Bank Transfer"],
withdrawalMethods: ["PayPal", "Skrill", "Bank Transfer"],
apps: ["iOS", "Android"],
yearLaunched: "2001"
}
}
Required Fields:
cloakedLink: Brand identifiername: Casino nameOptional Fields:
website: Domain (without https://)gameTypes: Array of game categoriesdepositMethods: Array of deposit optionswithdrawalMethods: Array of withdrawal optionsapps: Array of app platformsyearLaunched: Founding year (string or number)Brand data is cached for performance:
BRAND_INFO:{cloakedLink}:{country}If the brand is inactive or not available:
<p id="inactive-brand" style="display: none;">
The brand with name {brand-name} is currently inactive or not allowed in this country!
</p>
Handling:
Fields with no data display “N/A”:
All examples above use the new <nw-blocks> tag. For backward compatibility, you can still use <bw-widget>:
<!-- Old syntax (still supported) -->
<bw-widget
id="General_Info"
cloaked-link="greatwin-casino"
tracking-target="homepage"
target="_blank"
rel="nofollow" >
</bw-widget>
<!-- New syntax (recommended) -->
<nw-blocks
id="General_Info"
cloaked-link="greatwin-casino"
tracking-target="homepage"
target="_blank"
rel="nofollow" >
</nw-blocks>
Both tags work identically, but <nw-blocks> is recommended for all new implementations.