Custom Conversions - URL Contains OR URL Equals?
Updated: Aug 25, 2023
When creating Custom Conversions or Custom Audiences on Facebook, you are presented with several options for the URL field. When your website events meet a specific URL criteria, that will equate a “CONVERSION”. That URL criteria is set via three options:
URL contains
URL doesn’t contain
URL equals

What are Custom Conversions?
Custom Conversions let you track/optimize your Facebook ads for All URL Traffic (determined by using PageView standard events, which is your Facebook pixel base code) and Custom Events. By creating a Custom Conversion and choosing a Standard Event category similar to the action/conversion you want to track/optimize for, Facebook will show your ads (Conversion campaigns using this Custom Conversion) to people most likely to perform that event (i.e. a Purchase Standard Event).
I look at Custom Conversions as a way to add Standard Events without adding additional code to my website. All I need for Custom Conversions is the BASE PIXEL CODE installed (with the default PageView event).
EXAMPLE CUSTOM CONVERSION:
Let’s create a Custom Conversion similar to setting up a Purchase standard event.
Select All URL Traffic as the Website Event
Set the URL rule for the purchase completion page of your website, such as: URL contains /thankyou.php

Best Practices for Custom Conversion Setup: https://www.facebook.com/business/help/2375212726097833
Custom Conversions URL Criteria
URL contains: the actual URL contains the following
URL doesn’t contain: the actual URL does not contain the following
URL equals: the actual URL is an exact match of the following
EXAMPLE:
URL contains: coursenvy-thank-you
OR
URL equals: www.coursenvy.com/coursenvy-thank-you (you don’t need http:// or https://)
Note that you wouldn’t include both as rules… it is one OR the other when creating Custom Conversions.
URL contains is typically used for category matching, such as setting the URL contains for the word used as a category in the URL, like website.com/CATEGORY/product-name. So a URL contains option on a shoe ecommerce website would be the brand “nike”. This will create a conversion for every user that goes to a URL that includes the word “nike”.
Sometimes tracking/dynamically generated URLs cause errors in the “URL equals” Custom Conversions, so I most often use the “URL contains” option for our clients. This works perfect for tracking conversions of people who landed on a specific website, but the site may have a long UTM tracking on it, for example: https://www.coursenvy.com/thanks?utm_source=fb-ad
A “URL equals” of “https://www.coursenvy.com/thanks” may not have tracked with the URL example above. But a “URL contains” of “thanks” would have tracked a conversion from the above URL.
Other Ways to Use Custom Conversions: https://www.facebook.com/business/help/780705975381000






I found this article informative because it focuses on useful information rather than unnecessary content. The writer has explained the subject in a simple and understandable way, making it suitable for beginners as well. I liked the practical approach and the clear structure of the article. The information flows naturally and does not feel repetitive. Overall, this was a helpful read and gave me several useful points to remember. https://gangaclubapk.org/
The gameplay feels comfortable and easy to follow, making this game interesting to explore. I liked the organized interface because it helps players find different features quickly. The controls are simple, while the overall presentation looks clean. Players can spend some time understanding the rules and instructions before exploring further, which can make the gaming experience more enjoyable.
https://uelci-india.org/
This guide helped me understand the basic process of accessing the game. The login instructions are simple, and the register information makes the starting point clear. I also found the download section useful for smartphone users. The online bdggame details add some extra information without making the article too long or complicated. It is a helpful resource for anyone who wants to understand the platform and its games.
The URL equals option makes more sense to me when the goal is tracking one exact page, such as a completed order or a specific landing page. I was checking https://skincareproduct.co.uk/ while comparing how skincare ecommerce pages are organised, and it showed why precise URL rules can matter. A small difference in the condition could easily change which visits are counted as conversions.
I’ve been trying to understand URL based conversion tracking better, especially for ecommerce sites with many similar product pages. Looking through https://skincareproduct.co.za/ made me think about how “URL contains” could group related skincare pages without creating a separate rule for every single URL. It seems much more practical when several pages follow the same URL structure.