⚠️ 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.
CTA Button 2 components provide enhanced call-to-action functionality with optional brand logos and customizable styling. There are two main component types:
An enhanced CTA button component with support for brand logos, custom colors, description text, and flexible styling options.
For descriptions with 75 or more characters, the layout automatically adjusts to accommodate longer text.
Display the brand logo alongside the CTA button. Supports ##brand_name## placeholder in text.
| Attribute | Type | Default | Description |
|---|---|---|---|
id |
string | required | Component identifier (ctabutton2) |
cloakedlink |
string | "cresus-casino" |
The cloaked tracking link slug |
showlogo |
boolean | true |
Display brand logo alongside button |
text |
string | "" |
Description text (supports ##brand_name## placeholder) |
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/array | ["#05842A", "#05842A"] |
Button gradient colors [start, end] |
ctahovercolors |
string/array | ["#096725", "#096725"] |
Button hover gradient colors [start, end] |
A geo-targeted enhanced CTA button that automatically selects brands based on user location, product type, and language preferences.
Display the geo-targeted brand logo with dynamic brand name insertion.
| Attribute | Type | Default | Description |
|---|---|---|---|
id |
string | required | Component identifier (ctageobutton2) |
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 alongside button |
text |
string | "" |
Description text (supports ##brand_name## placeholder) |
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/array | ["#05842A", "#05842A"] |
Button gradient colors [start, end] |
ctahovercolors |
string/array | ["#096725", "#096725"] |
Button hover gradient colors [start, end] |
Both components support flexible color configuration for button styling:
ctacolors="#05842A"
ctacolors="['#05842A', '#04691E']"
The button will create a gradient from the first color to the second color.
showlogo="true" to display the brand logo##brand_name## in text or ctatext attributesAll 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="ctabutton2" cloakedlink="greatwin-casino" showlogo="true" >
</nw-blocks>
<!-- Old way (still supported) -->
<bw-widget id="ctabutton2" cloakedlink="greatwin-casino" showlogo="true" >
</bw-widget>
Both tags work identically and support all the same attributes and functionality.
<nw-blocks id="ctabutton2"
cloakedlink="your-casino"
showlogo="false"
ctatext="Play Now"
ctacolors="['#FF6B35', '#F7931E']" >
</nw-blocks>
<nw-blocks id="ctabutton2"
cloakedlink="your-casino"
showlogo="true"
text="Join ##brand_name## and get a 100% welcome bonus!"
ctatext="Claim Bonus" >
</nw-blocks>
<nw-blocks id="ctageobutton2"
product="CA"
language="en"
country="US"
showlogo="true"
text="Best online casino for ##brand_name##"
ctatext="Play Now" >
</nw-blocks>
<nw-blocks id="ctageobutton2"
product="SB"
brandposition="1"
language="fr"
showlogo="true"
ctacolors="['#1E90FF', '#0066CC']"
ctahovercolors="['#0066CC', '#004C99']"
text="Pariez sur ##brand_name##" >
</nw-blocks>