<script type="text/javascript">
form_container_id: "maitre-widget", // The ID of the div where you want the form to appear.
sharing_screen_container_id: "maitre-sharing", // The ID of the div where you want the sharing screen. Useful only if you want the sharing screen to appear in a different part of the page. It doesn't work if the popup is enabled
default_url: "http://referralhero.com", // The URL that will be used to create the referral link.
source: "Twitter", // The marketing channel the subscribers will be attributed to.
name: "John Smith", // The default value of the name field.
extra_field: "USA", // The default value of the extra_field field.
extra_field_2: "+1 123456789" // The default value of the second extra_field field.
track_events: false, //If custom events can be tracked
enable: true, // Turn on/off the one-click-signup feature
email: "rh_email", // The URL parameter used to extract the email
extra_field: "rh_extra_field",
extra_field_2: "rh_extra_field_2"
enable: true, // Whether or not to enable the Floating Button
text: "Join our Ambassador Program",
position: "left" // Can be "left", "center" or "right"
enable: true, // If disabled, the form will be loaded without a stylesheet
cover: "https://mywebsite.com/images/cover.jpg",
header: { text: "Sign up to win", color: "#1781bb" },
name: { require: true, placeholder: "Your name" },
email: { placeholder: "Your email" },
extra_field: { require: false, placeholder: "" },
extra_field_2: { require: false, placeholder: "" },
check_position: "Check status",
submitting: "Submitting...",
status: { text: "Check status", back: "Back" },
text: "I accept the terms and conditions",
url: "https://mywebsite.com/legal/terms"
enable: false, // Enabele/disable redirectoin after sign up
header: { text: "Congratulations, you're in!", color: "#222" },
subheader: {text: "", color: "#bbb" },
people_referred: { show: true, text: "Your referrals" },
position: { show: true , text: "Your position", ordinal: true },
instructions: "Refer your friends with the link below",
referral_link: { copy_button: "Copy", copied_button: "Copied" },
text: "Don't forget to confirm your email",
reminder_email: "Your email hasn't been verified yet.<br>Check your inbox - including the junk folder - and if you don't find it click the link below to resend it.",
resend_email: "Resend confirmation email",
resending_email: "Sending email...",
email_replace: "confirm your email", // The string that will be replaced with a link to popular email providers. Try to signup with a @gmail.com email.
email_resent: "Email has been sent. Check your inbox."
twitter: { show: true, message: "I just signed up on this awesome website! %referral_code%" },
facebook: { show: true },
facebook_messenger: { show: false },
email: { show: true, message: "Check this out %referral_code%", subject: "" },
whatsapp: { show: false, message: "" },
linkedin: { show: false, message: "" },
reddit: { show: false, message: "" },
telegram: { show: false, message: "" },
line: { show: false, message: "" }
subscriber: "Subscriber",
footnote: "1 referral = 1 point"
header: "This is what you can win",
{ title: "Free Hat", description: "1st position", image: "https://mywebsite.com/images/reward.png" },
{ title: "Free Suite", description: "2nd position", image: "https://mywebsite.com/images/reward.png" }
subscriber_not_found: "Email not found.",
subscriber_already_promoted: "You have already been promoted.",
form_incomplete: "Something is missing. Please fill out the form before submitting.",
server_problem: "We are experiencing some issues on our server. Please try again.",
failed_recaptcha: "It looks like you're a bot.",
terms_conditions: "You must accept the Terms & Conditions",
callbacks: {} // See Callbacks article