Configuration

Options to configure BuzzBonus widget

Data AttributeDescriptionOptionsExample

bounce

Adjust bouncing of share button

false, [n] (milliseconds), infinite default: 20000

<div class="buzzbonus" data-bounce="3000" />

type

Display as button instead of side

button

<div class="buzzbonus" data-type="button" />

buttonText

Text on share button

[text]

<div class="buzzbonus" data-buttonText="Click me!" />

rewardText

Text on last phase of modal thanking the user

[text]

<div class="buzzbonus" data-rewardText="Thank you for sharing!" />

shareText

Text under number of reviews

[text]

<div class="buzzbonus" data-shareText="Reviews" />

linkText

hardcode the link instead of window link when sharing

[text]

<div class="buzzbonus" data-linkText="https://buzzbonus.tech/" />

description

A description of your product or content to make autosuggest accurate

[text]

<div class="buzzbonus" data-description="BuzzBonus provides AI Social Buttons for better social proofing" />

social

Default social button

twitter, linkedin, facebook, custom

<div class="buzzbonus" data-social="custom" />

skip

Don't record the shares and skip modal screens

<div class="buzzbonus" data-skip />

shares

Min number of shares to display the number of shares

[number] default: 10

<div class="buzzbonus" data-shares="100" />

textGradient

Text Gradient for [n] reviews text

false

<div class="buzzbonus" data-textGradient="false" />

mobile

Also display on mobile devices (currently not optimized for them)

<div class="buzzbonus" data-mobile />

Last updated