OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster

Home

Docs

How to Use OptinMonster’s Referral Detection for Advanced Lead Targeting

How to Use OptinMonster’s Referral Detection for Advanced Lead Targeting

OptinMonster makes it easy to show campaigns to visitors who have been referred to your site from another specific website.

In this article, you’ll learn how to use OptinMonster’s Referral Detection rule.

Before you start, this feature is available with a Pro and higher subscription.

Some situations you might find the Referral Detection rule especially useful include:

  • If you’re running a promotion with another website and want to show a targeted message only to visitors who reach your site through that promotion.
  • To show a specific message only to visitors who reach your site through social media, e.g. through Facebook, Twitter, Instagram, etc.
  • To hide campaigns from traffic who reach your site through another specific website.

Referral Detection Targeting

To target your campaign to visitors who have reached your site by clicking on a link from another specific website, follow these steps:

  1. Navigate to the Display Rules view in the campaign builder.
    Navigate to the Display Rules in the OptinMonster campaign builder.
  2. Next, when adding or editing a rule select Who (Personalization) from the left-hand list and select the Referral Targeting option.
    Referral Detection targeting in OptinMonster.
  3. Configure the rule as desired using the operator dropdown and text field.
    Referral targeting options.
    The following options are available for ReferralTargeting:
  4. When you’re finished, Save the campaign.

FAQs

Can I use Referral Detection to hide/show campaigns to visitors arriving from my email newsletter?

No, however, you can follow our guide on how to hide OptinMonster from existing newsletter subscribers.


If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

Troubleshooting

Referrer Detection isn’t working for my campaign, why?

Referrer Detection checks if a specific value has been passed as HTTP_REFERRER in the browser.

If the HTTP_REFERRER passed is empty then Referrer Detection will fail for your campaign and your campaign might not load as you expect.

There are several reasons the HTTP_REFERRER could be empty, including if the website visitor:

  • entered the site URL in the browser address bar itself
  • visited the site by a browser-maintained bookmark
  • visited the site as the first page in the window/tab
  • switched from a secure (HTTPS) site to a non-secure (HTTP) site
  • has security software installed (antivirus/firewall/etc) which strips the referrer from all requests
  • is behind a proxy which strips the referrer from all requests
  • visited the site programmatically without setting the referrer header

In all instances, we strongly recommend that you thoroughly test your campaign’s functionality when configuring referrer detection in the Display Rules to ensure your settings are working as expected.

Why doesn’t this work when the visitor switches from a secure (HTTPS) to a non-secure (HTTP) site?

By default, the referrer data is not passed when the visitor reaches a non-secure (HTTP) site from a secure (HTTPS) site.

For advanced users, if you have access to the site your visitors are coming from, you can resolve this issue by adding the following meta tag to the head of the secure (HTTPS) site.

This article about the Referrer Meta Tag provides context on how this works and examples of the various meta tags available for this purpose.


Still stuck?

How can we help?

Last updated on


Start Getting More
Leads & Sales Today
with OptinMonster!

Create and launch smart capture forms today in minutes. What are you waiting for?

Create and launch smart capture forms
today in minutes. What are you waiting for?

OptinMonster has transformed our business. Before integrating their optins, our clients saw a 2% conversion rate from web traffic, which is slightly above the standard for their industry. With the integration of OptinMonster’s lightbox popup, exit-intent technology, split testing, and other tools, our client’s conversion rates soared by an unprecedented 500%. They attracted substantially more customers while spending less on digital advertising. Their success propelled them to the top of their markets, outperforming national chains and other medical spas with much bigger marketing budgets. Our client’s success in their market has distinguished us in our own. We are now one of the most sought-after marketing firms in the industry of aesthetic medicine. We know that the integration of OptinMonster, more than any other tool or marketing strategy, has supported this growth and achievement.

chris zelig medstar media

Chris Zelig

Partner, Medstar Media

OptinMonster has been a game-changer for us. From driving donations to collecting new leads, there is nothing that this simple tool has failed to accomplish. Our lead collection rate has jumped by over 1,000%.

joe lowe american bird conservancy

Joe Lowe

Director of Digital Communications, American Bird Conservancy

Through OptinMonster’s exit-intent popups, we have more than doubled our sales conversion rate. Best of all is the compound effect of using OptinMonster over a long period of time—more conversions mean more customers, which means more word of mouth.

mitch smith, managing director, shockbyte

Mitch Smith

Managing Director, Shockbyte.com