Getting Started
This guide explains how to add RF widgets to your website, whether you’re using CMS platforms like Wix, Squarespace, or others. Below are the steps and explanations for adding various widgets.
...
Navigate to Realtyfeed Dashboard > Api Key Settings
Add your site address to the
Allowed Origins
section, for example: https://your-site-address.com.Add your site address to the
Http Referrers
section, for example: https://your-site-address.com/
Tip |
---|
End slash is must have for Http ReferrersEnsure that HTTP referrers include a trailing slash (/) at the end. When inputting the site address, carefully match it to the URL displayed in the browser's address bar for accuracy |
2. Add widgets configuration code
You can skip this step if the widgets have already been added to your site by our expertsteam.
2-1. Refer to your platform’s documentation on how to insert custom code snippets into the <head> section.
Here is guide to Popular CMS Platforms
Wix - Squarespace - GHL
Info |
---|
the configuration code should run on all pages and with the highest priority available |
Wix - Squarespace - GHL
Copy the code below and place it in the <head> section of your site. The code provided includes all currently available configurations. To further customize it, please refer to this document
Expand | ||
---|---|---|
| ||
Code Block | | |
|
2-2. Generate your widget configuration script through our Dashboard Widgets Panel
For more information about the Widgets Panel, please refer to the customization documentation
3. Add Widgets to Site pages
...
Start by activating Dev mode in your site
From Velo Sidebar go to
public & backend
sectionInside the Public section, add a new
.js
file to the custom-elements folder. The name and content of this file do not matter
Steps below should be repeated for each widget
Add a new custom element from
Elements
to the page and choose the source to be the new .js file created in the previous step. The tag name should be something unique, such aslistings-widget-1
for a Listings Widget. This name must be unique for each instance of widget to prevent Wix from loading a custom element beside your widget. If you see an unintended wix custom element beside your widget, recheck this step.Next, create three attributes for this custom element and set the attribute values as needed :
Attribute Name | Value |
---|---|
id | rfWidget |
widget | Widget Name e.g. : Listings . |
config | This should refer to the widget config key created in step 1, e.g., listings-widget-1 |
...
Publish changes
3-2. Squarespace
Steps below should be repeated for each widget
Navigate to the page where you want to add a widget. Click Edit and Add an
Embed Block
in the area where you want the widget to appearEdit added embed block . set embed type as
Code Snippet
Set Embed Data to :
...
Save Page and check your changes
3-3. GoHighLevel
Steps below should be repeated for each widget
Go to the page where you want to add a widget. From the top bar, add a
Code element
from theCustom section
of theAdd Elements menu
Open code editor from the right side and add the following code :
...
Save Page and check your changes
More platforms to be added soon…