General Info 2 Widget

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.

Overview

General Info 2 is an alternative version of the general information widget designed for displaying casino or betting site data. This widget provides a streamlined approach to showing brand information with simplified configuration and optimized performance.

Key Features:

  • Simplified Configuration: Minimal required attributes for quick implementation
  • Brand Data Integration: Automatically fetches information from brand profiles
  • Link Tracking: Built-in analytics tracking for conversions
  • Responsive Design: Adapts to various screen sizes
  • Regional Support: Country and state-specific data filtering
  • SEO Optimization: Configurable link attributes (rel, target)

Basic Usage

Expand me...

{"isBrandActive":true,"website":"www.bingobonga.com","name":"BingoBonga Casino","yearLaunched":2022,"brandLicences":["Malta Gaming Authority"],"gameTypes":["Blackjack"],"depositMethods":["Interac"],"withDrawalMethods":["Bank Wire Transfer"],"apps":["iPhone","Android"],"cloakedLink":"bingobonga-casino","language":"fr","country":"DE","rel":"nofollow","target":"_blank","trackinglinktarget":"homepage","titleKey":"wgt-generalInfo-title","nameKey":"wgt-reviewpage-name","websiteKey":"wgt-generalInfo-website","sinceKey":"wgt-generalInfo-foundedYear","licenseKey":"wgt-reviewpage-license","anchorId":"","id":"generalinfo2","wid":"id57f8d095-5a69-4bb4-8115-c7c8870d1606","requestedCountry":"DE","websiteId":"1232.stage-umbrella-showcase.com","websiteConfiguration":{"restrictions":[],"redirect_404_to_301":false,"configurationSanity":{"displayModes":{}},"botRestrictions":{"userAgent":"^.*googlebot.*$","paths":["^/"]}},"cfRayID":"a6291dda3d62cf5f","widgetCacheKey":"2c39e578ea04c8e55da9cfb22861ae84","isBot":false,"isGov":false,"productCode":"","title":"Markeninformationen","nameLabel":"Nom","websiteLabel":"Site Web","sinceLabel":"Année de création","licenseLabel":"Licence "}

English Market

Expand me...

{"isBrandActive":true,"website":"www.betsson.com","name":"Betsson Casino","yearLaunched":2000,"brandLicences":["Malta Gaming Authority","Swedish Gambling Authority"],"gameTypes":["Poker","Blackjack","Baccarat","Video Poker","Scratch Card","Roulette"],"depositMethods":["Click2Pay","Click and Buy","Ecopayz","Entropay","Maestro","Mastercard","Neosurf","Neteller","Paysafecard","Skrill","Speedcard","Trustly","Ukash","Visa","Visadebit","Visaelectron"],"withDrawalMethods":["Click2Pay","Click and Buy","Ecopayz","Entropay","Mastercard","Neteller","Skrill","Speedcard","Visa","Visadebit","Easyeft","Echeck","Coins Paid","Boleto Bancario"],"apps":["iPhone","Android"],"cloakedLink":"betsson-casino","language":"en","country":"UK","rel":"nofollow","target":"_blank","trackinglinktarget":"review","titleKey":"wgt-generalInfo-title","nameKey":"wgt-reviewpage-name","websiteKey":"wgt-generalInfo-website","sinceKey":"wgt-generalInfo-foundedYear","licenseKey":"wgt-reviewpage-license","anchorId":"","id":"generalinfo2","wid":"idc7920dff-1ba5-4bdb-8bb0-71d1b3ee1d6d","requestedCountry":"UK","websiteId":"1232.stage-umbrella-showcase.com","websiteConfiguration":{"restrictions":[],"redirect_404_to_301":false,"configurationSanity":{"displayModes":{}},"botRestrictions":{"userAgent":"^.*googlebot.*$","paths":["^/"]}},"cfRayID":"a6291dda3d62cf5f","widgetCacheKey":"5102148bfce29bdd24f1789616de89fa","isBot":false,"isGov":false,"productCode":"","title":"Brand information","nameLabel":"Name","websiteLabel":"Website","sinceLabel":"Launched","licenseLabel":"License"}

US State-Specific

Expand me...

{"isBrandActive":true,"brandLicences":[],"gameTypes":[],"depositMethods":[],"withDrawalMethods":[],"apps":["iPhone","Android"],"cloakedLink":"draftkings-casino","language":"en","country":"US","rel":"nofollow","target":"_blank","trackinglinktarget":"nj-review","titleKey":"wgt-generalInfo-title","nameKey":"wgt-reviewpage-name","websiteKey":"wgt-generalInfo-website","sinceKey":"wgt-generalInfo-foundedYear","licenseKey":"wgt-reviewpage-license","anchorId":"","id":"generalinfo2","wid":"idf1a823de-fc60-49e9-9bc1-3df5ca1e7ba1","requestedCountry":"US","websiteId":"1232.stage-umbrella-showcase.com","websiteConfiguration":{"restrictions":[],"redirect_404_to_301":false,"configurationSanity":{"displayModes":{}},"botRestrictions":{"userAgent":"^.*googlebot.*$","paths":["^/"]}},"cfRayID":"a6291dda3d62cf5f","widgetCacheKey":"7442bb3ef5ebb6e5755450378b25655c","isBot":false,"isGov":false,"productCode":"","title":"Brand information","nameLabel":"Name","websiteLabel":"Website","sinceLabel":"Launched","licenseLabel":"License"}


Attributes Reference

Attribute Type Required Default Description
id string Yes - Must be “generalinfo2”
cloakedlink string Yes - Brand identifier/cloaked link for fetching brand data
language string No “en” ISO 639-1 language code for localization
country string No “ZZ” ISO 3166-1 country code (supports state format: US-CA)
country-state string No - State/province code for US/Canada (auto-parsed from country)
trackinglinktarget string No "" Tracking parameter for link analytics
target string No “_blank” Link target attribute for opening behavior
rel string No “nofollow” Link rel attribute for SEO control
titlekey string No by product, see below Translation key of the header title
namekey string No “wgt-reviewpage-name” Translation key of the “Name” label
websitekey string No “wgt-generalInfo-website” Translation key of the “Website” label
sincekey string No “wgt-generalInfo-foundedYear” Translation key of the “Since” label
licensekey string No “wgt-reviewpage-license” Translation key of the “License” label
anchorid string No dynamic Static HTML id attribute of the widget

Header Title

The title is the first of these that has a translation in Sanity:

  1. the key passed in titlekey
  2. the key of the brand’s product: wgt-generalInfo-title-casino for a casino, wgt-generalInfo-title-sportsbook for a sportsbook
  3. wgt-generalInfo-title, the generic title

If cloakedlink is empty, the widget is not displayed.


Widget Features

Streamlined Design

General Info 2 focuses on simplicity:

  • Minimal Configuration: Only essential attributes required
  • Automatic Data Fetching: Pulls all brand information from CMS
  • Clean Output: JSON-based data structure for flexible rendering
  • Fast Loading: Optimized for performance with minimal overhead

Brand Data Integration

The widget automatically retrieves comprehensive brand information:

  • Website URL and domain details
  • Gaming categories and types
  • Payment and withdrawal methods
  • Mobile app availability
  • Founding year and licensing
  • Regional availability

Tracking Parameters:

  • Widget ID for attribution
  • Custom tracking target for source identification
  • Conversion tracking integration
  • Analytics-ready URL structure

URL Format:

/go/{cloaked-link}/{tracking-target}?wid={widget-id}&trackingData={data}

Regional Support

Country-Level:

  • ISO 3166-1 country codes (e.g., “UK”, “DE”, “FR”)
  • Automatic regional filtering
  • Currency and payment method localization

State/Province-Level:

  • US states: US-NJ, US-PA, US-MI, etc.
  • Canadian provinces: CA-ON, CA-QC, etc.
  • Automatic state parsing and filtering
  • Compliance with regional regulations

Common Use Cases

Standard Casino Review

<nw-blocks
    id="generalinfo2"
    cloakedlink="fresh-casino"
    language="en"
    country="UK"
    trackinglinktarget="full-review">
</nw-blocks>

Multi-Language Site

<!-- French version -->
<nw-blocks
    id="generalinfo2"
    cloakedlink="cresus-casino"
    language="fr"
    country="FR"
    trackinglinktarget="avis-complet">
</nw-blocks>

<!-- German version -->
<nw-blocks
    id="generalinfo2"
    cloakedlink="betsson-casino"
    language="de"
    country="DE"
    trackinglinktarget="vollstandige-bewertung">
</nw-blocks>

US Regional Compliance

<!-- New Jersey -->
<nw-blocks
    id="generalinfo2"
    cloakedlink="betmgm-casino"
    country="US"
    trackinglinktarget="nj-homepage">
</nw-blocks>

<!-- Pennsylvania -->
<nw-blocks
    id="generalinfo2"
    cloakedlink="fanduel-casino"
    country="US-PA"
    trackinglinktarget="pa-homepage">
</nw-blocks>
<!-- Follow link for partner sites -->
<nw-blocks
    id="generalinfo2"
    cloakedlink="partner-casino"
    rel="follow"
    target="_self"
    trackinglinktarget="partner-page">
</nw-blocks>

<!-- Sponsored content -->
<nw-blocks
    id="generalinfo2"
    cloakedlink="sponsored-casino"
    rel="sponsored"
    target="_blank"
    trackinglinktarget="sponsored-review">
</nw-blocks>

API-Style Data Output

<!-- Output raw JSON for custom rendering -->
<nw-blocks
    id="generalinfo2"
    cloakedlink="leovegas-casino"
    language="en"
    country="SE">
</nw-blocks>

Best Practices

Implementation

  • Use clear trackinglinktarget values to identify traffic sources
  • Set appropriate country for regional content and compliance
  • Choose correct rel attribute based on relationship type
  • Test output format to ensure compatibility with your design

Localization

  • Always specify language for proper translations
  • Use country to filter region-specific content
  • Include state codes for US/Canadian markets
  • Verify payment methods match regional availability

SEO and Compliance

  • Use rel="nofollow" for affiliate links (default)
  • Use rel="sponsored" for paid partnerships
  • Use rel="follow" only for trusted partners
  • Set target="_blank" for external links (default)

Tracking

  • Use descriptive tracking targets: “homepage”, “review”, “comparison”
  • Maintain consistent naming across pages
  • Include page context in tracking parameter
  • Monitor conversion data to optimize placement

Performance

  • Widget renders quickly with minimal JavaScript
  • Data is cached from brand profiles
  • Efficient JSON output for flexible rendering
  • Optimized for mobile and desktop

Data Integration

  • Ensure brand exists in CMS with correct cloaked link
  • Verify brand is active for specified region
  • Keep brand data updated for accuracy
  • Test with multiple brands for consistency

Advanced Configuration

State-Specific Implementation

For US and Canadian markets, use hyphenated country codes:

<!-- United States -->
<nw-blocks id="generalinfo2" cloakedlink="..." country="US-CA"></nw-blocks>  <!-- California -->
<nw-blocks id="generalinfo2" cloakedlink="..." country="US"></nw-blocks>  <!-- New Jersey -->
<nw-blocks id="generalinfo2" cloakedlink="..." country="US-PA"></nw-blocks>  <!-- Pennsylvania -->

<!-- Canada -->
<nw-blocks id="generalinfo2" cloakedlink="..." country="CA-ON"></nw-blocks>  <!-- Ontario -->
<nw-blocks id="generalinfo2" cloakedlink="..." country="CA-QC"></nw-blocks>  <!-- Quebec -->

The widget automatically:

  • Splits country and state codes
  • Applies state-specific regulations
  • Filters payment methods by state
  • Shows licensed operators only

Configure SEO-friendly link attributes:

<!-- Affiliate/Commercial -->
<nw-blocks id="generalinfo2" rel="nofollow" ... ></nw-blocks>

<!-- Sponsored Content -->
<nw-blocks id="generalinfo2" rel="sponsored" ... ></nw-blocks>

<!-- Trusted Partner -->
<nw-blocks id="generalinfo2" rel="follow" ... ></nw-blocks>

<!-- User-Generated Content -->
<nw-blocks id="generalinfo2" rel="ugc" ... ></nw-blocks>

<!-- Multiple Relationships -->
<nw-blocks id="generalinfo2" rel="nofollow sponsored" ... ></nw-blocks>

Tracking Parameter Strategies

Organize tracking for analytics:

<!-- By page type -->
<nw-blocks id="generalinfo2" trackinglinktarget="homepage" ... ></nw-blocks>
<nw-blocks id="generalinfo2" trackinglinktarget="review-page" ... ></nw-blocks>
<nw-blocks id="generalinfo2" trackinglinktarget="comparison-table" ... ></nw-blocks>

<!-- By position -->
<nw-blocks id="generalinfo2" trackinglinktarget="sidebar-top" ... ></nw-blocks>
<nw-blocks id="generalinfo2" trackinglinktarget="content-middle" ... ></nw-blocks>
<nw-blocks id="generalinfo2" trackinglinktarget="footer-banner" ... ></nw-blocks>

<!-- By campaign -->
<nw-blocks id="generalinfo2" trackinglinktarget="summer-promo-2025" ... ></nw-blocks>
<nw-blocks id="generalinfo2" trackinglinktarget="new-player-bonus" ... ></nw-blocks>

Data Requirements

Sanity CMS Structure

Brand data is fetched from Sanity CMS:

{
  brand: {
    cloakedLink: "bingobonga-casino",
    name: "Bingo Bonga Casino",
    website: "www.bingobonga.com",
    gameTypes: ["Bingo", "Slots", "Live Casino"],
    depositMethods: ["Credit Card", "PayPal", "Skrill"],
    withdrawalMethods: ["PayPal", "Bank Transfer"],
    apps: ["iOS", "Android"],
    yearLaunched: "2019",
    licenses: ["MGA", "UKGC"],
    currencies: ["EUR", "GBP", "USD"],
    languages: ["en", "de", "fr"],
    // ... additional brand data
  }
}

Required Fields:

  • cloakedLink: Brand identifier
  • name: Casino name

Optional Fields:

  • All other brand information
  • Regional availability
  • Payment methods
  • Licensing information

KV Storage

Brand data is cached for performance:

  • Key: BRAND_DATA:{cloakedLink}:{country}
  • TTL: 24 hours
  • Format: JSON structure
  • Invalidation: On brand update

Output Format

The widget outputs brand data as JSON, which can be rendered by your frontend:

{
  "cloakedLink": "bingobonga-casino",
  "name": "Bingo Bonga Casino",
  "website": "www.bingobonga.com",
  "gameTypes": ["Bingo", "Slots", "Live Casino"],
  "depositMethods": ["Credit Card", "PayPal", "Skrill"],
  "withdrawalMethods": ["PayPal", "Bank Transfer"],
  "apps": ["iOS", "Android"],
  "yearLaunched": "2019",
  "trackingUrl": "/go/bingobonga-casino/homepage?wid=generalinfo2&trackingData=..."
}

Integration Options:

  • Parse JSON and render custom HTML
  • Use JavaScript to create dynamic displays
  • Style output with CSS
  • Integrate with frontend frameworks (React, Vue, etc.)

Differences from General Info 1

Feature General Info 1 General Info 2
Output Pre-rendered HTML JSON data structure
Styling Built-in card design Custom rendering required
Configuration Extensive options Minimal configuration
Expandable Yes (show more/less) No (data only)
Custom Fields Yes No (all fields)
Use Case Ready-to-use display Flexible integration

When to use General Info 2:

  • Need custom design/layout
  • Building custom frontend
  • API-style data output
  • Flexible rendering requirements
  • Integration with frameworks

When to use General Info 1:

  • Quick implementation needed
  • Pre-styled design acceptable
  • Standard information display
  • No custom rendering required

Error Handling

Inactive Brand

If the brand is inactive or unavailable:

  • Widget returns empty or error state
  • No data output
  • Check CMS for brand status

If the cloaked link doesn’t exist:

  • No data returned
  • Verify link in brand database
  • Check for typos in attribute

Regional Restrictions

If brand not available in specified country:

  • Data may be filtered or empty
  • Verify regional availability in CMS
  • Check country code accuracy

Backward Compatibility

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="generalinfo2"
    cloakedlink="bingobonga-casino"
    language="fr"
    country="DE"
    trackinglinktarget="homepage"
    target="_blank"
    rel="nofollow">
</bw-widget>

<!-- New syntax (recommended) -->
<nw-blocks
    id="generalinfo2"
    cloakedlink="bingobonga-casino"
    language="fr"
    country="DE"
    trackinglinktarget="homepage"
    target="_blank"
    rel="nofollow">
</nw-blocks>

Both tags work identically, but <nw-blocks> is recommended for all new implementations.