Are you looking for software to help you turn your website visitors into referrals?
Get your referral program up and running, and embed it into your website, in just a few hours π Try our referral software for free for 15 days to start getting website referrals today!
If you already have a Referral Factory account, then keep reading to learn how to install a referral program widget on your website π
What Is A Referral Program Widget?
A referral program widget allows you to embed your referral program pages directly into your website, web app, or logged-in environment as a small component that floats in the right-hand corner of the screen. This widget serves as a convenient way for your visitors or users to access and participate in your referral program without leaving your website or app. It provides a seamless user experience and encourages more people to refer your business to their friends and contacts.
To make it easy for you to get more website referrals, Referral Factory's widget function works by taking your referral program pages and essentially repackaging them as embeddable widgets. We provide you with a ready-to-use script that can be inserted into your website or web app.
Here is an example of how you can get more website referrals using the Referral Factory widget.
Note that there are two options for the referral program widget: "Logged Out" and "Logged In"
Installing A "Logged Out" Referral Program Widget on a Website
A standard "logged out" referral program widget where any visitor to your website will be able to see Step 1 for the Person Referring where they can sign up to get their unique referral link and start referring their friends.
β Navigate to the Promote section inside the campaign builder.
β Click Promote your campaign on your website or blog
β Make sure to select the tab titled Website Widget.
β Copy the ready-to-use widget script. Please note that this script is case-sensitive.
β Optionally, adjust the widget button text, colours and icon.
βοΈ Any changes to the look and feel of the widget button (i.e., the text "Refer Friends", the icon, or the button colours) need to be made before the ready-to-use script is copied and inserted into your website. Jump to that section of this guide to learn more about how to customise your widget π
βοΈ Since the widget pulls directly from your campaign pages, any changes to what shows inside the widget can be made via the campaign builder and these settings may be changed after you have inserted the widget script into your website.
β If your website is managed by a web developer, provide them with this exact script and ask them to insert the script on the relevant pages of your website right before the </body> tag in your website code.
β If your website is built on a no-code builder like WordPress, Webflow, or Squarespace, you may be able to use a plugin to insert the script yourself. Learn more.
Installing A "Logged In" Referral Program Widget on a Web App or User Dashboard
β Navigate to the Promote section inside the campaign builder.
β Click Promote your campaign on your website or blog.
β Make sure to select the tab titled Website Widget.
β Copy the ready-to-use widget script. Please note that this script is case-sensitive.
β Optionally, adjust the widget button text, colours and icon.
βοΈ Any changes to the look and feel of the widget button (i.e., the text "Refer Friends", the icon, or the button colours) need to be made before the ready-to-use script is copied and inserted into your website. Jump to that section of this guide to learn more about how to customise your widget π
βοΈ Since the widget pulls directly from your campaign pages, any changes to what shows inside the widget can be made via the campaign builder and these settings may be changed after you have inserted the widget script into your website.
β If your website is managed by a web developer, provide them with this exact script and ask them to:
β Change the variables {first name of logged in user} and {email of logged in user} to the same variables that are used to provide your logged-in user's data.
β Insert the script on the relevant pages of your web app or logged-in environment right before the </body> tag in your website code.
β If your website is built on a no-code builder like WordPress, Webflow, or Squarespace, you may be able to use a plugin to insert the script yourself. Learn more.
How To Customise the Look and Feel of Your Referral Program Widget
β You can adjust the text that shows on the widget button. By default, the text is set to "Refer Friends".
βοΈ Please note that the widget text has a 20-character limit.
β You can adjust the colours of the widget.
β You can upload a different icon for the widget.
βοΈWe recommend sizing your icon to 25x25 pixels and ensuring it is no larger than 1MB.
β If you would like to change the position of the widget on your website, you will need to make your own CSS edits to the ready-to-use script provided by Referral Factory. Learn more.
βοΈ Any changes to the look and feel of the widget need to be made before the ready-to-use script is copied and inserted into your website.
Can I Change the Position of the Referral Program Widget?
If you would like to change the position of the widget on your website, you will need to make your own CSS edits to the ready-to-use script provided by Referral Factory.
By default, Referral Factory's easy-to-install widget hovers in the bottom, right-hand corner of your website or web app. If you would like to change the position of the widget, for example, to hover on the left-hand side of your webpage or web app, you will need to edit the styling built into the ready-to-use script yourself.
You could also make use of Referral Factory's referral program pop-up rather than the widget as this option gives you the freedom to configure your own button or trigger.
How To Install A Widget On Squarespace
β Copy the widget script from Referral Factory.
β Log in to your Squarespace account.
β Choose the webpage where you want to install the widget and click edit.
β Click add block and select Code.
β Paste the widget script in this block.
β Save your changes.
How To Install A Widget On Wordpress
β Copy the widget script from Referral Factory.
β Log into your WordPress dashboard and navigate to βPluginsβ.
β Select βAdd New Pluginβ. Search for, install and activate the plugin βHeaders and Footers Scriptsβ.
β Go to the "Settings" section on WordPress and select "Insert Headers and Footers".
β Copy and paste the widget script in the Footer section.
How To Install A Widget On Webflow
β Copy the widget script from Referral Factory.
β Log in to your Webflow account and go to your project.
β Select the Embed element located under Components in the Elements Panel.
β Place the Embed Code element wherever you want in your website.
β Once you click on it, the code editor will pop.
β Paste the widget script in the custom code window.
β Click Save & Close.
Further Resources
π‘ Want to add a layer of security to your referral widget? Learn about our security features for embedding here.
π‘ Read more about other promotional options that Referral Factory offers in this help guide or consult this article on how to get more referrals.
π‘ If you need any help installing the widget on your website or logged-in environment, please reach out to our friendly customer support team.