Posted on

Target Campaigns To Any Page of Your Choice with Wildcard URLs

Get to know more about wildcard URLs and how they play a great role in campaigns.

cover image

Last updated on October 12, 2023

Icegram Engage now allows another method to fine tune campaign targeting – wildcards in URLs. Using this method, you can show popups, messengers and other lead captures and promotion messages only on those pages that you want.

Till now, page targeting (“Where” rules) in Icegram Engage included an option to show your campaign sitewide, on homepage or on selected pages. With the new “Specific URLs on this site” option, you can add as many URLs (page addresses) as you want. And more importantly, you can use wild cards in those URLs.

Below are few examples where this feature can come in really handy. You may need to make some changes to your permalink structure to get the best of this feature…

Show on all blog posts…

If you want to invite people to sign up to your list, but only those visitors who are reading your blog, you can use http://www.site.com/blog/* in the Where rules of your campaign.

The wildcard * matches everything. So this wildcard URL will match all pages on the site that begin with http://www.site.com/blog/. So it will match http://www.site.com/blog/awesome-post/ or http://www.site.com/blog/category/another-post/ but won’t match http://www.site.com/about-us/. This is essentially matching all blog pages – like what we wanted.

Show on particular categories or tags…

If your permalink structure puts categories / tags in URLs, you can easily target a campaign to a specific category.

For example: http://www.site.com/blog/category-name/* or http://www.site.com/tags/tag-name/*

Targeting pages with certain keywords in the URL

If you want to show your campaign on pages with “icegram” in their title – and hence the URL, it’s very easy. You can display a testimonial of Icegram Engage on all pages that have “icegram” in their URL like this: http://www.site.com/*icegram*

This will work on: http://www.site.com/icegram, http://www.site.com/blog/icegram-updates, http://www.site.com/category/icegram-addons – or anything else that has icegram anywhere in the URL.

Use a combination that works for you!

You can use the * wildcard anywhere in the URL – and more than once. So use something that suits your permalink structure and campaign goals. All the following examples are valid…

http://www.site.com/blog/*keyword*
http://www.site.com/*/keyword/*
http://www.site.com/*/keyword*
http://www.site.com/keyword/*another-keyword/

Over to you!

These are some use cases that we thought off. Do try them out. Also experiment other cases that are applicable to your business. Post a comment with your observations so others benefit too!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.