AddShoppers Help Desk

Support Center

How to Use URL Filters

Last Updated: Jan 24, 2014 03:56PM EST

So you want to set up multiple Social Rewards campaigns and apply them to different pages or products on your site? URL filters are the quickest way to getting this set up (but not the most robust way, more complicated setups will need our Javascript option).

There are 2 filters available for Social Rewards:

  1. Exclusion filter: This excludes the social reward on URLs that match the filter.
  2. Inclusion filter: This includes the social reward on URLs that match the filter.

Here's how to set them up to work together. This is an example of setting up 3 Social Rewards:

  1. A special reward for the checkout success page.
  2. A special reward for all product pages of products of the brand "X".
  3. A general reward for all pages on the site (other than the pages in #1 and #2).

Of course, your use will be different; this is just an illustration. Here are the steps to create this Social Reward setup:

1. Create your first Social Reward and configure normally.

Set up the reward type, amount, sharing message, etc as normal for this reward.

2. Set the URL filter field to match your desired filtering.

This first reward should only apply to shares on your checkout success page. In this example, our checkout success page URL is http://www.mystore.com/checkout-complete.

We'll enter */checkout-complete* in the Inclusion filter box.

3. Create a new campaign for your other rewards and follow steps 1 and 2 for the new campaign.

Now, we need 2 more campaigns. 

The first one is for all Brand "X" products. Let's say our url structure for product pages is http://www.mystore.com/brand-name/product-name. So, Brand "X" product pages look like http://www.mystore.com/brandx/product-name. Our URL inclusion filter for this campaign will look like this: */brandx/*

The second one is a general reward to show when the other campaigns don't apply. Our inclusion filter for this campaign will be blank (it'll show on all pages by default).

4. Set up exclusion filters.

Update the general reward campaign to include the inclusions filters from the other campaigns as its exclusion filter. This prevents the general reward from interfering on pages where the other 2 campaigns would apply. This step is necessary because the general campaign has no inclusion filter, so it shows everywhere by default. 

So, you'll enter */checkout-complete* and */brandx/* in the Exclusion filter box for the general reward campaign.

5. Done!

This might be confusing to read over. In order to clarify things, here's a table showing what the reward setup in this example looks like:

 
Campaign Inclusion Filter Exclusion Filter
Checkout Success Page */checkout-complete*  
BrandX Product Pages */brandx/*  
General   */checkout-complete* */brandx/*

What are the asterisks (*) for?

They are wildcards, so they match anything. Using these, you don't have to list the URL for every BrandX product page, etc.

This won't work for me. There are no URL patterns that I can use, there are too many URLs to work with, etc. What can I do?

No problem! We offer another way to use multiple Social Rewards and specify which one you want to use on a given page. Take a look at our Javascript option for another way to set up different Social Reward campaigns without URL filters.

Contact Us

  • Please use the floating chat bubble in the bottom right hand side of your screen to initiate a request.

http://assets0.desk.com/
false
addshoppers
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete