OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster

Home

Docs

How to Target Visitors With a Specific Anchor Tag

How to Target Visitors With a Specific Anchor Tag

OptinMonster makes it easy to show your campaigns only to visitors with a specific anchor tag. Use the guide below to set up the anchor tag display rule for your campaigns.

In this article, you’ll learn how to target a campaign to an anchor tag.

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

The anchor tag is a specific portion of a web page’s URL, but not the full URL. The anchor tag is the text after a hash mark at the very end of the URL.
URL Structure

Anchor tags can be used to link a visitor to a specific part of your webpage, like a heading in the middle of the page. For example, in the URL https://www.domain.com/page#heading the anchor tag is ‘heading’.

Configure Anchor Tag Rule

When you create a campaign in OptinMonster you can target URLs on your site that contain certain anchor tags.

To target your campaign to a specific anchor tag, 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 Where (Targeting) from the left-hand list and select the Anchor Tag Targeting option.
  3. Choose how you would like to target your anchor tag.
    Anchor tag targeting in OptinMonster.
    The following options are available for Anchor Tag targeting:
    • exactly matches
    • does not exactly match
    • contains
    • does not contain
    • starts with
    • does not start with
    • ends with
    • does not end with
    • is empty
    • is not empty
    • matches the pattern
  4. Once you’ve selected the specific option you would like to use, type the anchor tag to be targeted in the third box.
    Anchor tag targeting options in OptinMonster.
  5. When you are finished, Save the campaign.

FAQs

Is this rule case-sensitive?

Yes, all operator conditions for the anchor tag rule are case-sensitive.

For example, the anchor tag ‘Hello’ is not the same as ‘hello’.

Be sure to check the case of your anchor tags to be sure the Display Rule configured matches.


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 →


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