WIX
Last updated
Last updated
ReferralHero's integration with Wix is a straightforward process that involves just a few simple steps. Please follow the instructions below to integrate ReferralHero with your Wix site.
Access your Wix site's editor by going to your site's dashboard and clicking "Edit Site."
Navigate to the page where you want to embed the ReferralHero widget.
Click "Add a Section" on the left side of the Editor.
Choose a category from the options.
Select the desired section to add it to your page.
Publish your site.
View your live site, right-click, and select "Inspect" to open the developer tools.
In the "Elements" panel of the developer tools, locate the section you just created.
Take note of the div ID associated with that section.
In your ReferralHero campaign, navigate to the Launch tab to retrieve the global tracking code specific to your campaign.
Add your ReferralHero global tracking code to line #2 in the code provided below.
Insert the div ID noted earlier on line #7 in the code below.
Go to the "Settings" section in your WIX site's dashboard.
Click the "Custom Code" tab within the "Advanced" section.
Click "+ Add Custom Code" at the top right.
Paste your ReferralHero global tracking code and the section div id code snippet in the provided text box.
Example code:
Under the "Add Code to Pages" option, select "All Pages."
Under the "Place Code in" option, choose "Head."
Click "Apply" to save the changes.
Following these steps, the ReferralHero widget will be successfully added to your WIX site.