CTA Button 4 Components

⚠️ Important Notice: We are transitioning from <bw-widget> to <nw-blocks> tags. While <bw-widget> is still supported for backward compatibility, all new implementations should use <nw-blocks>. Please update your existing widgets when possible.


Overview

CTA Button 4 components provide a streamlined call-to-action solution with optional brand logos displayed inline with the button. This variant offers a more compact design compared to CTA Button 3, with the logo appearing alongside the button rather than above it.

  • ctabutton4: Compact CTA button with optional inline brand logo
  • ctageobutton4: Geo-targeted version that automatically selects brands based on user location and product

ctabutton4

A compact CTA button component with an optional brand logo displayed inline to the right of the button.

Expand me...

Display the brand logo inline to the right of the button for a compact branded experience.

Expand me...

With Custom Colors

Customize button colors to match your brand or design theme.

Expand me...

Attributes Reference

Attribute Type Default Description
id string required Component identifier (ctabutton4)
cloakedlink string "cresus-casino" The cloaked tracking link slug
showlogo boolean true Display brand logo inline with button
ctatext string "" Button text (overrides ctakey translation)
ctakey string "" i18n translation key for button text
target string "_blank" Link target attribute
rel string "nofollow" Link rel attribute
trackinglinktarget string "" Additional tracking target parameter
referer string - Referer parameter for tracking
ctacolors string "#05842A" Button background color (single color only)
ctahovercolors string "#096725" Button hover background color (single color only)

ctageobutton4

A geo-targeted compact CTA button that automatically selects brands based on user location, product type, and language preferences.

Basic Usage

Expand me...

With Brand Logo

Display the geo-targeted brand logo inline with the button.

Expand me...

For Different Products

Easily switch between Casino, Sports Betting, or other products with the product attribute.

Expand me...

Attributes Reference

Attribute Type Default Description
id string required Component identifier (ctageobutton4)
brandposition number 0 Brand position in the geo-targeted list (0-indexed internally, use 1 for first)
product string - Product type (e.g., “SB” for Sports Betting, “CA” for Casino)
language string "en" Language code (e.g., “fr”, “en”)
country string "ZZ" Country code (e.g., “FR”, “US”, “ZZ” for generic)
countryState string - State code for US/CA (e.g., “NY”, “ON”)
sellingpointtype string "general" Type of selling point to display
showlogo boolean true Display brand logo inline with button
ctatext string "" Button text (overrides ctakey translation)
ctakey string "" i18n translation key for button text
target string "_blank" Link target attribute
rel string "nofollow" Link rel attribute
trackinglinktarget string "" Additional tracking target parameter
referer string - Referer parameter for tracking
maxRows number 9999 Maximum number of rows to fetch
ctacolors string "#05842A" Button background color (single color only)
ctahovercolors string "#096725" Button hover background color (single color only)

Key Differences from CTA Button 2

Design & Layout

  • Compact Design: CTA Button 3 has a more streamlined, horizontal layout
  • Inline Logo: Brand logo appears to the right of the button, not above it
  • No Description Text: CTA Button 3 focuses solely on the button and logo
  • Simpler Styling: Uses solid colors instead of gradients

Use Cases

  • CTA Button 2: Best for featured placements with description text and larger visual impact
  • CTA Button 3: Ideal for inline placements, sidebars, or when space is limited

Color Configuration

CTA Button 3 uses solid colors only (no gradients like CTA Button 2).

Single Color Format

ctacolors="#05843A"
ctahovercolors="#096735"

Colors should be specified as standard CSS color values (hex, rgb, etc.).


Key Features

  • Set showlogo="true" to display the brand logo
  • Logo appears to the right of the button in the same row
  • Maintains compact design with 42px logo height

2. Simplified Styling

  • Solid color backgrounds instead of gradients
  • Clean, minimal design
  • Consistent arrow icon on all buttons

3. Geo-Targeting

  • Automatically select brands based on location
  • Product-specific targeting (Sports, Casino, etc.)
  • Language and country-specific content

4. Space-Efficient Layout

  • Horizontal button and logo arrangement
  • Perfect for sidebars and narrow spaces
  • Maintains brand recognition without taking vertical space

Backward Compatibility

All examples above use the new <nw-blocks> tag. If you need to use the legacy <bw-widget> tag for backward compatibility, simply replace <nw-blocks> with <bw-widget> in any example:

<!-- New way (recommended) -->
<nw-blocks id="ctabutton4" cloakedlink="greatwin-casino" trackinglinktarget="" showlogo="true">
</nw-blocks>

<!-- Old way (still supported) -->
<bw-widget id="ctabutton4" cloakedlink="greatwin-casino" trackinglinktarget="" showlogo="true">
</bw-widget>

Both tags work identically and support all the same attributes and functionality.


Common Use Cases

1. Simple Compact Button

<nw-blocks id="ctabutton4" 
    cloakedlink="your-casino" 
    ctatext="Play Now"
    trackinglinktarget=""
    ctacolors="#05843A">
</nw-blocks>
<nw-blocks id="ctabutton4" 
    cloakedlink="your-casino" 
    showlogo="true"
    ctatext="Join Today"
    trackinglinktarget=""
    ctacolors="#FF6B35">
</nw-blocks>

3. Geo-Targeted Casino Button

<nw-blocks id="ctageobutton4" 
    product="CA" 
    language="en" 
    brandposition="1"
    showlogo="true"
    trackinglinktarget=""
    ctatext="Claim Bonus">
</nw-blocks>

4. Inline Sportsbook CTA

<nw-blocks id="ctageobutton4" 
    product="SB" 
    language="fr" 
    showlogo="true"
    ctacolors="#1E90FF"
    trackinglinktarget=""
    ctahovercolors="#0066CC"
    ctatext="Parier Maintenant">
</nw-blocks>

Choosing Between CTA Versions

Feature CTA Button CTA Button 2 CTA Button 3
Layout Simple link/button Card with logo above Compact horizontal
Logo Position N/A Above button Right of button
Description Text No Yes No
Colors Gradient support Gradient support Solid colors only
Best For Text links, simple CTAs Hero sections, featured content Sidebars, inline CTAs
Space Required Minimal Large Compact