Using URL-Based Rules
URL-based rules are a powerful tool that allows you to create customized promotions and offers for your customers based on the pages they visit on your website. With this feature, you can create rules that trigger specific actions, such as displaying a discount code or showing a pop-up, based on the URL that a customer is browsing.
For example, you can create a URL-based rule that displays a 10% off coupon code for customers who visit a specific product page. You can also create a rule that displays a free shipping offer when customers visit their checkout page.
Another example of how URL-based rules can be used is by creating personalized landing pages for different marketing campaigns. For instance, you can create a specific landing page for a particular marketing campaign and create a URL-based rule that redirects customers who click on the campaign's advertisement to that landing page. By doing so, you can provide new store visitors with a personalized and relevant experience, which is more likely to convert them into long-term customers.
In summary, URL-based rules offer an innovative way for Shopify customers to create custom promotions and personalized experiences for their customers. By leveraging this feature, you can ensure that the right customers see the right offers at the right time, which can ultimately help drive sales and increase customer loyalty.
Examples:
Blog Post Example:
URL-based rules can be a great way to cross-sell products directly within your blog posts. With this feature, you can create different rules based on the URLs of your blog posts, and customize the recommendations or offers that are displayed for each post.
For example, let's say you have a blog post about the benefits of using drinking tea. You could create a URL-based rule that displays a pop-up recommending a specific tea products to customers who visit that blog post. This could help increase the chances of customers making a purchase, as they are being presented with a relevant product recommendation at the right time.
Similarly, if you have a blog post about a specific product or product category, you can create a URL-based rule that displays related products or offers on that post. This can help increase the chances of customers making additional purchases, as they are being presented with complementary products or relevant promotions that may interest them.
You don't have to create a separate widget for each blog post. Instead, you can create multiple rules with unique URL checks to modify the recommendations for each post.
Landing Page Example:
One application of this feature is to show a widget on a landing page using a URL-based rule. This can be especially effective when used in conjunction with a popup, as it can capture the attention of customers and encourage them to take action.
To implement this feature, simply create a URL-based rule that triggers the display of a widget on your landing page or popup. For example, if you have a landing page promoting a specific product, you could create a rule that displays a widget with related products or offers when customers visit that page. This can help increase the chances of customers making a purchase, as they are being presented with relevant products or promotions that may interest them.
Advanced UTM Example:
UTM parameters let one data source rule follow a shopper through their whole visit, instead of only applying to the page they arrived on. Rebuy looks for UTM parameters in the URL a shopper arrives on, stores them in a session cookie, and passes them up with every widget request that shopper makes afterward, so the rule can keep evaluating them. A URL rule written against utm_campaign=tea-promo keeps matching on the product page, in the cart, and in every other widget for the rest of the session, even though the parameter is no longer in the address bar.
Rebuy looks for these parameters:
utm_campaignutm_mediumutm_sourceutm_termutm_content
Write your rule against one of the parameters above. Rebuy stores nothing else from the URL, so a rule built on any other parameter, whether it comes from an ad platform, an affiliate program, an email tool, or your own team, will not work for campaign targeting. If your campaign links already carry a parameter of their own, keep it for whatever tool reads it and add a UTM parameter to the same link, then write the rule against the UTM value.
The cookie holding the UTM parameters expires after 30 minutes of inactivity and renews itself whenever the shopper is active. It is only written when the shopper has consented to tracking under your Shopify customer privacy settings.
This is what makes campaign-specific merchandising possible without building a separate widget for every campaign. One popup can offer a discount only to shoppers who arrived from a sauce-promo link, and the same session cookie keeps that offer consistent as they move from the collection page to the cart.
Does the parameter have to start with utm_?
Yes, the parameter has to be one of the UTM parameters listed above. Those are the parameters Rebuy looks for and stores in the session cookie, and storing them is what lets the rule keep evaluating after the shopper leaves the page they arrived on. A rule written against any other parameter, such as a referral or affiliate parameter your marketing tools add, will not work for campaign targeting.



