WordPress

Note

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 Script Installation Plugin.

Installing ReferralHero using a Script Installation Plugin

Step 1: There are several WO plugins that you can use to add scripts to the header of the footer of your website but we recommend OH Add Script to Individual Pages Header Footer. Go to app.referralhero.com to copy the Tracking Code from your campaign dashboard.

Any script management plugins you install are not managed by ReferralHero. Therefore, if you encounter any challenges during installation of the plugin or experience any incompatibility issues you need to reach out to the plugin author for assistance.

Step 2: Go to your campaign dashboard > Installation instructions and copy your Tracking Code

Step 3: 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 4: Download the ReferralHero plugin and install it on your website.

Step 5: Add the ReferralHero embeddable widgets on your page by pasting the special shortcode [maitre-form] exactly where you want the form to appear in your page.