Skip to main content
All CollectionsData SourcesRules
TikTok URL/UTM Based Rules
TikTok URL/UTM Based Rules

This article will show you how to use URL-based rules to power product recommendations for customers navigating to the website from TikTok.

Kyle Panganiban avatar
Written by Kyle Panganiban
Updated over a week ago

Using URL-Based Rules

URL-based rules are a powerful tool that allows you to create customized experiences, promotions, and offers for your customers navigating from TikTok to your website. With this feature, you can create rules that trigger specific actions such as displaying personalized recommendations, targeted discount offers, or pop-up offers based on the URL a customer is browsing.

URL-based rules offer an innovative way for Shopify brands to create custom promotions and personalized experiences for customers. By leveraging this feature, you can ensure that the right customers see the right offers at the right time, which can increase ROAS, conversion rates, sales, and customer loyalty.


Creating Data Sources for TikTok

UTM rules are unique in that we store them as a session cookie and pass them up on each request so that a URL rule that contains “utm_campaign=XYZ” will match throughout the entire session. This means that you can use different messaging on products, the cart, checkout widgets, etc. for the entire session!

Creating URL-based Data Source rules is simple and can be done in minutes. In the “IF” section of the rule, select “URL” from the dropdown menu.

Keep the second ruler filter as “Contains” and then insert your UTM parameter.

Then create your “RETURN” rules, which will dictate the messaging, discounts, and/or products that are displayed to the customer.

Voila! You’ve created your URL-based rule to target customers coming from TikTok.


Data Source Examples for TikTok

Product Promotions

Build Data Source rules that target shoppers who click on product-specific promotions from TikTok. Upon navigating to the website, the associated widget (let’s use a pop-up for this example) can then display that particular product, making it easy for the customer to purchase the product they are interested in.

The personalized customer experience would look something like this:

Shopper clicks TikTok ad > ad redirects them to the website > a pop-up widget is displayed to the customer for that particular product > shopper clicks “add to cart” and purchases the product.

Influencer Campaigns

Use Data Sources to create product recommendations for influencer campaigns to drive conversions and customer loyalty. UTM parameters could be used to return personalized offers that are catered to shoppers clicking through from their favorite TikTok content creator.

Say Shopper X is interested in a product that they saw from a TikTok video: To drive conversions and engagement, you could surface a pop-up widget that displays customer messaging such as “View Jon’s Favorites!” and offers the shopper a 15% off discount.

After viewing the TikTok video, shoppers could then instantly see what that influencer’s favorite products are AND receive a discount, just for navigating to the site from that particular ad.

Sales Campaigns

Data Sources can also be personalized to surface custom messaging, discount offers, and specific product collections during sales such as Black Friday.

Here’s a Black Friday example: If you’re running a special Black Friday sale, use objects like Super Title, Title, and Widget Discounts to incentivize shoppers who are visiting from TikTok to follow through with a purchase. Additionally, you can tailor discounts to only apply to particular collections, such as “Coffee.”

When a shopper from TikTok navigates to the website from the Black Friday sale ad, they’ll automatically be recommended coffee products that include a 50% discount.

Marketing Campaigns

Leverage Rebuy Marketing Links to run multi-step promotions when directing shoppers from TikTok to your website. When encouraging viewers to “click the link in the bio” consider embedding Marketing Links as promotional incentives that push consumers to a product page, collection page, or personalized landing page.

Marketing Links empower you to customize the promotion’s type (auto-add or conditionally-add products to the cart), discount offers, messaging, and start/end date.

The promotion example below offers a good idea of how Marketing Links can be used to automatically add multiple products to cart with a 20% discount code:


If you have any questions, don’t hesitate to reach out to the Rebuy Support Team by clicking the Rebuy logo in the bottom right-hand corner.

Did this answer your question?