Please ensure Javascript is enabled for purposes of website accessibility
top of page

Custom Conversions - URL Contains OR URL Equals?

Apr 7, 2022
2 min read

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:

  1. URL contains

  2. URL doesn’t contain

  3. 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


Continue Learning




 
 
 

11 Comments


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/

Like

Suri Ji
Suri Ji
Sep 10

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/

Like

Goswami
Goswami
Sep 08

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.

Like

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.

Like

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.

Like

Contact

1003 E 4th Pl
Los Angeles, CA 90013

Join our FREE Newsletter!

© 2015-2024 Coursenvy LLC, All Rights Reserved.

​

Coursenvy is not an accredited university and we don’t confer traditional degrees. Coursenvy is a professional internet marketer. Their success and the income possibilities mentioned by their students is not typical and is not a guarantee you will make money. You could make more, less, or none at all. The material provided is for educational purposes only. Everything expressed here is Coursenvy's opinion and not official investment advice. Coursenvy is not a financial adviser and is not a broker-dealer. Investing involves a high degree of risk and should be considered only by persons who can afford to sustain a loss of their entire investment.  We are paid affiliate commissions, referral fees, or we may receive other considerations, any time you purchase any third-party products or services through this Website. We also receive consideration from such third parties in connection with our endorsement or honest review of any of their goods or services. This site is not a part of the Facebook website or Facebook Inc. Additionally, This site is NOT endorsed by Facebook in any way. FACEBOOK is a trademark of FACEBOOK, Inc.

​

bottom of page