ReferralHero cannot be used on a free hosted WordPress.com website because custom plugins cannot be installed on the platform. Also, custom JavaScript is blocked from being embedded within these types of sites. Also, if your WordPress blog uses any caching plugins, you may have to clear your cache to make sure the script is added to your site.

To install the ReferralHero Tracking Code onto your WordPress theme, one option would be to place it in the header.php file. However, editing the WordPress theme this way changes the code on your website's local copy of the theme.

This means that if the theme is updated or re-downloaded later, you would lose changes to the header and the ReferralHero Tracking Code would no longer be installed. Instead, we suggest using a WordPress Script Management Plugin.

Installing ReferralHero using a Script Installation Plugin

Step 1: Check to see if you already have a header/footer script management plugin installed on your WordPress website. If not, there are several free WordPress plugins that you can use to add scripts to the header or footer of your website. We recommend WPCode or OH Add Script to Individual Pages Header Footer.

Step 2: Install the selected header/footer script plugin on your WordPress website.

While it is very rare to have any issues with the WordPress script management plugin installation, any script management plugins you install are not managed by ReferralHero. Therefore, if you encounter any challenges during the installation of the WordPress script management plugin or experience any incompatibility issues you need to reach out to the plugin author for assistance.

Step 3: Go to your ReferralHero campaign dashboard > Installation instructions and copy your ReferralHero Global Tracking Code

Step 4: Paste the Tracking Code to the header of your site using the plugin you downloaded. If you are using the OH Add Script plugin, you will paste the script in the box shown below.

Step 5: Download the ReferralHero plugin and install it on your website.

Step 6: Add the ReferralHero embeddable widgets on your page by pasting the special shortcode <div id='maitre-widget-MFxxxxxxxxxx'></div> exactly where you want the form to appear in your page.

Last updated