⚠️ In order to properly target your pages, the SmartPixel code must be placed on every page of your site
URL targeting let's you control where your referral program appears throughout your website. If you have your widget’s Display Settings set to “Ribbon/URL Targeting”, you’ll have the option to configure which pages of your website the Ribbon or Overlay popup appears on. You can either choose to have it appear on specific pages, or alternatively have it hidden on specific pages.
Here's a table of popular patterns:
Troubleshooting
What's a path? I entered https://www.website.com/store
but nothing's working.
You've entered more information than you need! URL patterns are based off the URL path so you don't need to include the protocol and domain name. For URL targeting to work correctly, just enter /store
. Check out the URL anatomy below to find your page's path.
Why am I only seeing my widget appear on a specific product's page? I want it to appear for all products.
You'll want to double check the URL pattern. If the widget is appearing on a specific product's page, then you may be entering an exact match rather than using our wildcards.
What's the difference between a URL pattern that uses a wildcard with one asterisk vs two asterisks?
Two wildcards are available to make matching easier: *
and **
The *
wildcard matches any single segment in your URL’s path (a segment is text between /
s).
For example, /order/*/confirm
matches/order/1234/confirm
but not /order/customer/1234/confirm
.
The **
wildcard matches one or more segments.
For example, /order/**/confirm
matches both /order/1234/confirm
and/order/customer/1234/confirm
.
How do you create a URL pattern that includes parameters?
If your URL has a query string (i.e., content after a ?
), you can use *
to match any single value. For example, /products/**?id=*
will match any URL under /products
with any value of id
.