URL/UTM Based Rules

This article will show you how to use a URL-based rule to power your recommendations!

Strauss Van Wagenen avatar
Written by Strauss Van Wagenen
Updated over a week ago

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:

The UTM is unique in that we capture any UTM arguments, then store them as a session cookie, and pass them up on each request, so that a URL rule which contains utm_campaign=sauce-promo will match throughout the entire session โ€” so you can use different languages on product, cart, checkout widgets, etc for the entire session! This is a bit more advanced but super powerful!

The UTM feature in Shopify is unique in that it captures any UTM arguments and stores them as a session cookie, which can then be passed up on each subsequent request. This means that if a URL-based rule is created with a specific UTM argument, such as utm_campaign=tea-promo, it will match throughout the entire session.

This feature provides a powerful way for you to use different language and promotions on various parts of their website, such as product, cart, and checkout widgets, for the entire session. For example, you could create a URL-based rule that displays a pop-up offering a discount on a specific product for customers who clicked on a sauce-promo UTM link. Once the customer clicks on the UTM link, the session cookie will store the UTM argument and you can continue to display promotions and customized messaging throughout the entire session.

This advanced feature requires some technical expertise to set up, but it provides significant benefits for merchants who want to create a highly personalized and targeted customer experience. By leveraging the UTM feature, you can create a more engaging and effective online store that drives conversions and customer loyalty.



If you have any questions send us those through the messenger on this page with your details in hand!


Did this answer your question?