Setting Up Facebook Business Manager Domain Verification with TXT
Completing facebook business manager txt verification proves to Meta that you own your website's domain, which is essential for managing ads, running conversion campaigns, and configuring event tracking. To verify your domain using a TXT record, you need to add a specific verification string provided by Meta into the DNS settings of your domain registrar or hosting provider. Once added, Meta's automated crawlers check your public DNS records to confirm ownership. If you want to check your progress immediately, you can use the TXT Lookup tool from XiaTools to instantly query your domain's authoritative name servers and verify that Meta's exact verification string is globally visible.
Prerequisites for Domain Verification
Before you log into your DNS provider, make sure you have the correct assets and permissions in place. You must have admin access to your Meta Business Suite or Business Manager account, and administrative access to modify DNS records with your domain registrar (such as GoDaddy, Cloudflare, Namecheap, or Google Domains).
Accessing Your Verification Code in Meta
To find your unique TXT record value, follow these steps in your Meta account:
- Open Business Settings in your Meta Business Suite.
- In the left-hand menu, navigate to Brand Safety and Suitability and select Domains.
- Click the Add button and choose Verify a domain.
- Enter your root domain (e.g.,
example.comwithouthttps://orwww). - Select the DNS Verification tab from the available verification methods.
- Copy the TXT record string provided by Meta, which typically looks like
facebook-domain-verification=your_unique_string_here.
Step-by-Step DNS Configuration
Configuring your DNS records correctly ensures that Meta's automated systems can read your verification string without errors. Depending on your provider, the user interface will vary, but the underlying DNS record parameters remain identical.
Adding the TXT Record
Log in to your domain registrar or DNS hosting provider and locate the DNS management dashboard. Menu paths are commonly found under settings like DNS Management, Manage Zone Files, or Advanced DNS.
Create a new record using these exact specifications:
- Type: TXT
- Name / Host / Alias:
@(representing your root domainexample.com) or leave it blank depending on your provider's requirements. If you are verifying a subdomain, enter the subdomain prefix instead (e.g.,shop). - Value / Answer / Content: Paste the entire string copied from Meta (e.g.,
facebook-domain-verification=abc123xyz789example). - TTL (Time to Live): Set to 300 seconds, Automatic, or the lowest possible value to speed up propagation.
Save the record. If your provider requires you to confirm changes, ensure you complete the prompt.
Verifying Your Setup Using Command Line Tools
Before clicking the "Verify" button in Meta Business Manager, it is best practice to query your DNS records locally using command-line utilities. This helps confirm that your changes have propagated to public name servers.
Using dig on Linux and macOS
Open your terminal and run the dig command against your domain to query TXT records:
dig TXT example.com +short
Look through the output to find your Meta verification string:
"v=spf1 include:_spf.google.com ~all"
"facebook-domain-verification=abc123xyz789example"
Using PowerShell on Windows
If you are using Windows, open PowerShell and use the Resolve-DnsName cmdlet:
Resolve-DnsName -Name example.com -Type TXT
Examine the returned objects to ensure your Facebook verification string is listed under the String property.
Comparing DNS Verification Methods
While Meta offers multiple ways to verify your domain, TXT record verification is widely considered the most reliable and secure method.
| Verification Method | Pros | Cons | Best Used For |
|---|---|---|---|
| DNS TXT Record | Does not break if website files move; hidden from public web visitors. | Requires DNS access; can take time to propagate. | All standard setups, agencies, and headless sites. |
| HTML File Upload | Quick if you have immediate server access. | Breaks if you redesign your site or change hosting platforms. | Traditional WordPress or static server setups. |
| Meta Tag Injection | Simple for beginners using website builders. | Can be accidentally deleted by theme updates or cache plugins. | Simple blogs and e-commerce storefronts. |
Troubleshooting Common Verification Errors
Even with careful execution, DNS propagation delays or syntax errors can cause verification failures. Here is how to fix the most frequent issues.
Error: "Domain Verification Failed"
This error occurs when Meta's crawler checks your domain and cannot find the expected TXT string.
- Cause 1: DNS Propagation Delay. Global DNS updates can take anywhere from a few minutes to 24 hours. Wait a short period and try again.
- Cause 2: Incorrect Hostname Syntax. Many users accidentally paste their full URL into the Host field (e.g., entering
https://example.cominstead of@). Edit the record and ensure the host is set strictly to@or your root domain. - Cause 3: Missing Prefix. Ensure you included the entire string provided by Meta, including the
facebook-domain-verification=prefix.
Handling Subdomains and Root Domains
Meta allows you to verify either your root domain (example.com) or a specific subdomain (shop.example.com). If you plan to run ads across multiple subdomains, verify your root domain using a wildcard or root TXT record. Note that verifying a root domain automatically covers all subdomains for ad account permissions, but you must ensure your tracking pixels match the exact URL structure you intend to use.
Quick Checklist for Successful Verification
- Copied the exact TXT string from Meta Business Manager.
- Created a new TXT record in your DNS provider panel.
- Set the host value to
@for root domains or your specific subdomain. - Confirmed record visibility using local command line tools or online lookup utilities.
- Clicked the Verify button in Meta Business Suite after records propagated.