Understanding Page/ URL Targeting in Connecto
You can apply suitable targeting rules in Connecto’s admin panel to show widgets precisely when the user is most engaged. This can be done on the Targeting Screen that appears in the third step while creating a notification.
As you can see in the screenshot above, targeting has been divided into three sub sets:
- Behavior Targeting - This section deals with rules to decide when will the notification appear.
- Segmentation - This section decides the set of audience that will see the notification.
- Page Targeting - This helps you to show notification on specific pages. We will be discussing this in detail today.
Page Targeting OR URL Targeting
It is done to show the notification on desired page/pages. You can apply rules to show the notification on all pages, on pages with specific patterns, on specific pages with specific URLs etc. Likewise, you can also decide to not show the widgets on some pages or URLs.
For user - convenience, page targeting is further split into five sub sets:
- All pages - Select this to show notification on all the pages of your website.
- All pages except homepage - Choose this to show notification on all pages of the website except the homepage.
- Only on homepage - Go for this if you want to show notification only on the homepage of your website.
- Some Pages - Using this you can show notifications on specific pages. Similarly, you can negate the URLs where you do not want to show the notifications.
- Advanced URL Targeting - This will help you set up any rule as per your requirement using AND/ OR conditions.
Among these, some pages and advanced URL targeting need to be explained thouroughly. So here we go!
Some Pages Targeting
Let us understand this with some examples.
- Example 1: Suppose I want to show a notification on only these two pages of my website http://www.connecto.io/connecto/howitworks/ and http://www.connecto.io/connecto/mobile-notifications/, I will set the rule as shown in the image below:
To check whether the notification will reflect on the desired page, you can simply use the feature given at the bottom of the screen.
Note: While writing the URL of a page, you only have to write the part of URL after http://www.yourwebsite.com/.
- Example 2: If I want to show a particular widget on all my blog pages, it would be a tedious task to add URL of every blog and update the list whenever a new blog is added. This is where I figure out that all my blog pages contain the word “blog” in their URLs i.e they follow a pattern - http://www.connecto.io/blog/how-to-set-up-goals-in-connectos-admin-panel/
So, the targeting is done based on a specific pattern as shown in the image below:
Now the widget will appear on all the blogs.
Example 3: What do I do if I want to show a widget on all pages except a few? Here, I will use the targeting “But don’t show on these URLs” and will add the URLs of the page where I don’t want to show the notification.
Example 4: If I do not want to show the widget on all my blogs, I will simply use the targeting “and don't show on URLs which contain these patterns”.
Advanced URL Targeting
This is the advanced section where you can create any combination of rules using AND/ OR conditions and set up complicated rules to meet your requirements.
Before going through examples, let us understand what the choices in the dropdown mean:
1. Contains: Used when you want to show the notification on all the pages containing a specific word in their URL. This is similar to “URLs which contain these patterns” targeting under Some Pages section. Example: In Connecto, all our blog pages contain the word "blog" in their URLs. If I have to show a notification on all blog pages, I will target it as: Contains: blog
2. Does not contain: Is exactly opposite to contains
3. Starts With: Used when you want to show notification only on a specific URLs. This is similar to “Show this notification on these URLs” targeting under Some Pages section.
Example: If you want to show a notification on this page http://www.connecto.io/connecto/howitworks/ , targeting will be:
Starts With: connecto/howitworks
If you leave it blank i.e Starts With: ------ notification will appear on all pages
4. Does Not Start With: Is exactly opposite to Starts With
5. Is Exactly: Used when you want to show the notification on a page with exactly same URL
Example: If I have to show a specific pop up on Connecto’s blog on dynamic variable, i will target it as:
Is Exactly: blog/dynamic-variables-customize-your-notification-by-dynamic-content/
6. Is Not: Is exactly opposite to Is Exactly.
- When you add more than one conditions in targeting using AND, the notification will be displayed only when all of those conditions are true.
- When you add more than one condition in targeting using OR, the notification will be displayed when any one of those is true.
Let us see a few examples to understand how this advanced targeting works.
- Example 1: If I have to show a notification on all blog pages except on my blog on Dynamic variable, targeting would be:
- Example 2: If I decide to show the notification on two specific blogs on Dynamic Variables and Embeddable Widgets, targeting would be:
Hope this was helpful!