The short version
On Shopify you verify your domain with Meta in one of two working ways: paste Meta's meta tag on a blank line under the opening head tag of theme.liquid in your published theme, or add Meta's DNS TXT record to your domain, and one method is enough, with DNS the better pick if you can do both, because a tag in theme.liquid stays with one theme.
Enter the root domain without www or https, and skip the HTML file method, because on a paid plan Shopify's Files take any format except HTML.
A DNS change on a Shopify-managed domain can take up to 24 hours.
Once the domain is verified, leave the tag or record in place: Meta's developer documentation says it may be checked periodically, although its Help Center says you can remove it.
Which Method Fits Your Store
Find the row that matches who controls your theme code and your domain's DNS. If two rows fit, take the DNS row: the record sits outside the theme, so publishing another theme can't leave it behind. Everything below explains and walks through each answer.
How to verify your Shopify domain with Meta, by situation
| Your situation | Pick | Why |
|---|---|---|
| You can edit your theme's code on a custom domain | Meta tag in theme.liquid | Meta reads the tag in the head of your home page's static HTML, so no DNS access is needed |
| Your domain's DNS is managed by Shopify | DNS TXT record in Settings > Domains | The record sits in DNS, not in the theme; leave the name field as it is |
| Your domain uses custom nameservers or its DNS is managed outside Shopify | DNS TXT record at that DNS provider | With custom nameservers, Shopify's DNS settings page doesn't display your records |
| Your store only has its myshopify.com address | Connect a custom domain first, then verify it | Meta's current pages don't say whether a myshopify.com address can be verified, and Shopify's DNS settings need a custom domain |
| You planned to upload Meta's HTML file | Use the meta tag instead | On a paid plan Shopify's Files take any format except HTML, and Meta fails the check on a redirect |
Why Meta Asks You to Verify Your Domain
Key takeaway
Meta Business Suite lets a business claim ownership of its domain, and Meta describes verification as a way to help it confirm that you're connected to your business. On a Shopify store, that domain is the address your customers type and the one your ads and shared links point to.
Meta's Business Help Center lists what verification gives you:
- Ownership of the domain in Meta Business Suite without editing Open Graph markup tags on your site.
- Control over editing permissions for your links and content, to help prevent misuse of your domain.
- The ability to assign specific Pages editing permissions for your ads.
- Assurance that only the rightful parties can edit link previews that direct to your content.
It costs nothing: Meta says it's free to verify your domains. The work falls on whoever can change your site's code or DNS, the person Meta calls the webmaster for your domain.
Why bother if you never edit an ad link yourself? Because of the default. Meta's page on link editing permissions states it plainly:
Anyone with a Facebook Page can create and edit an ad that includes a link to your domain.
When you actually need it
Key takeaway
Meta's page on when to verify your domain names several situations; two bear directly on a Shopify merchant's ads and sales. The first is managing ad link editing permissions: verification lets you see the advertisers running ads that point to your domain and allow or disallow their link editing privileges.
The second is selling. If you direct buyers from Facebook commerce surfaces to a website in a supported market, Meta says you must provide the single non-shortened domain through which you sell, and that to confirm you own it, you may need to complete domain verification. For the verification itself Meta's word is “may”, not “must”, so treat it as the step that removes doubt rather than a box every store has to tick.
Not the same as a badge or Shopify's own domain check
Key takeaway
Search results for this task mix up the procedures in the table below, and only the first one is what Meta Business Suite is asking you for.
Three procedures called “verify”
| Procedure | What it covers | Who it is for |
|---|---|---|
| Meta domain verification (this guide) | That your business owns the domain, set up in Meta Business Suite under Settings > Brand safety > Domains (as of November 2026) | Businesses that advertise on Meta or send buyers from Meta's commerce surfaces to their store |
| Meta Verified for businesses | A separate Meta offering; Meta says verifying your business in Meta Business Suite won't give you a verified badge | Not covered here |
| Shopify's "Verifying your domain ownership" | Ownership of the email domains of users in your organization, used for security features such as SAML and SCIM | Only organizations on the Shopify Plus plan |
Meta Business Help Center and Shopify Help Center, read November 2, 2026.
If a search sent you to Shopify's page on verifying your domain ownership, that page is available only for organizations on the Shopify Plus plan and covers the email domains of your users, for features such as SAML, SCIM and two-step authentication resets. Nothing on it touches Meta.
Does the Facebook & Instagram Channel Do It for You?
Key takeaway
No current Shopify or Meta page we have found says that connecting the Facebook & Instagram channel verifies your custom domain in Meta, and none says it doesn't (the box in the methods section lists what we read). Shopify's own guide from 2022, now only in a web archive, let you verify the domain inside the old Facebook channel during setup. What the current channel's pages do say sits close to verification's own requirements.
The staff member who connects the channel needs full control of the business portfolio and Facebook Page associated with the store, and the portfolio must own the Page during onboarding. That is the same full control Meta asks for before you verify a domain. Which accounts and permissions the channel needs end to end is covered in the access section of our Meta pixel guide.
Shopify's requirements for the channel include one line that points here: your products must be available for direct purchase from your verified domain. What else Meta checks before it approves a business is in our guide to selling through Instagram Shopping.
One onboarding error looks related but is a different thing. Shopify says it appears when your myshopify.com domain is linked to another business portfolio: that is the channel's link between your store and a portfolio, not the verification of your custom domain this guide covers.
Meta's Three Methods on a Shopify Store
Key takeaway
Shopify used to publish its own guide, “Verifying your domain with the Facebook channel”; the latest archived copy of that page is dated September 24, 2022. Its old address now redirects to the overview of the Facebook & Instagram channel, and no Shopify page we have found describes the procedure today (the box at the end of this section lists what we read). So this guide puts Meta's side together with Shopify's general pages on themes, files and DNS.
The three methods Meta offers
Key takeaway
As of November 2026, Meta's Business Help Center says there are 3 domain verification methods, and Meta's developer documentation adds that you only need to use one. Here is where each one lands on a Shopify store.
Meta's verification methods on a Shopify store
| Method | What Meta asks for | Where it goes on Shopify | Works on Shopify? |
|---|---|---|---|
| Meta tag | A meta tag on your domain's home page | The head of layout/theme.liquid in your published theme | Yes |
| DNS TXT record | A TXT entry in your domain's DNS record | Settings > Domains > DNS settings, or your outside DNS provider | Yes, on a custom domain |
| HTML file | An HTML file uploaded to your web directory, with ownership confirmed in Meta Business Suite | No way described on the Shopify pages we read (see the box below); Files takes no HTML on paid plans | Practically closed |
Meta Business Help Center (methods, counted November 2, 2026); Shopify Help Center pages on file uploads, theme code and DNS settings.
Why the HTML file route is practically closed
Key takeaway
Meta's file method needs the file in one specific place. “We require that the file is uploaded to the root of your domain,” Meta's troubleshooting page says, and for this method there must be no other text or HTML markup on the webpage.
Shopify's file uploads don't get you there. On a paid plan, Content > Files takes any file format other than HTML, and Shopify's rules for generic files say the same. Files you do upload are served from a /cdn path on your domain, such as /cdn/shop/files/, as Shopify's note on storefront asset URLs describes, not from the root.
A redirect to a copy stored somewhere else doesn't rescue it either. Meta says verification fails if it is redirected to another location when it tries to find the file, and the redirects it allows are from the top-level domain to www, and between http and https. That conclusion is ours, drawn from Meta's and Shopify's pages together, not a statement Shopify makes.
Shopify's own advice, on the same file-uploads page, points the other way:
If you're verifying your website with a third-party service, then use meta tags instead.
No current Shopify page we have found does any of four things: describes domain verification for Meta today, gives a way to place a custom HTML file at the root of a store's domain, says whether the Facebook & Instagram channel verifies your domain for you, or says what happens to a verification tag in theme.liquid when you publish another theme or update this one.
We read, on November 2, 2026: the Shopify Help Center pages on file uploads, editing theme code, duplicating, adding, publishing and updating themes, theme troubleshooting, DNS settings, the sitemap and robots.txt; every page of the Facebook & Instagram channel section and Shopify's marketing pages on the Meta pixel and data sharing; shopify.dev on theme layouts and CDNs; Shopify's Facebook & Instagram pages on shopify.com and the App Store; both Shopify changelog feeds; and Meta's two help articles about the Shopify integration. Where this guide says Shopify doesn't cover something, it means these pages.
Which Domain to Enter
Key takeaway
Meta's instruction is to enter the root domain without any prefixes: website.com, not www.website.com nor https://website.com. Verifying it also gives you control of all subdomains. Meta adds that you can't verify a subdomain or subdirectory on its own, and that the only time you'll need to verify a subdomain is when you're selling on Facebook Commerce.
What to type into Meta Business Suite
| Address | Enter it in Meta? | Why |
|---|---|---|
| yourstore.com | Yes | Meta asks for the root domain without any prefixes |
| www.yourstore.com | No, enter yourstore.com | Meta's own example rules out www, and the root covers its subdomains |
| https://yourstore.com | No, drop the protocol | Meta's own example rules out https:// |
| shop.yourstore.com | Only when onboarding to Facebook Commerce | Otherwise it is covered by the root; Meta says you can't verify a subdomain outside that case |
| yourstore.myshopify.com | Connect a custom domain first | Meta's current pages don't say whether a myshopify.com address can be verified, and Shopify's DNS settings need a custom domain |
Meta Business Help Center and Shopify Help Center (DNS settings), read November 2, 2026.
If an agency or a freelancer runs your ads, the domain still belongs in your own business portfolio. Meta's developer documentation asks anyone verifying on behalf of a client to make sure the domain is verified in the domain owner's Business Manager; Meta's Business Help Center calls the account that owns a domain the domain-owning business portfolio.
How to Verify Your Domain, Step by Step
Key takeaway
The work starts and ends in Meta Business Suite. Only the middle step happens on the Shopify side, and it differs by method: pick yours in the Quick Verdict at the top, then follow its subsection below.
Before you start
Key takeaway
- A business portfolio in Meta. Meta lists it as the first requirement.
- Full control of that portfolio. Meta asks for full control, not just access.
- Admin or developer access to your domain, which on Shopify means someone who can edit the theme code or the DNS.
- For the meta tag, a theme you can edit. Shopify lets you edit a paid theme's code only after you've purchased it, so a theme you're still trying out won't take the tag.
- For DNS in Shopify, a custom domain. A store that uses its myshopify.com domain name has to add a custom domain before it can access DNS settings.
Add the domain in Meta Business Suite
Key takeaway
- In Meta Business Suite, open Settings and go to Domains in the Brand safety section (the layout Meta's verification steps describe as of November 2026).
- Add your root domain, without www or https.
- Select one of the verification options Meta offers: the meta tag or the DNS TXT record.
- Copy the value Meta shows for that option, and keep the screen at hand: you'll return to it to run the check.
Meta's tag carries the name facebook-domain-verification; the TXT record carries the verification code Meta gave you. If you opened the HTML file option, go back and pick one of the other two, for the reasons above.
Meta tag: paste it into theme.liquid
Key takeaway
Meta wants its tag inside the <head> section of your home page's HTML. On a Shopify theme that section sits in theme.liquid, the default layout file that shopify.dev says must be included in all themes.
The tag looks like this, with Meta's code in place of the x's:
<meta name="facebook-domain-verification" content="xxxxxxxxxxxxxxxxxxxxxx" />- Back up the theme first: from your Shopify admin, go to Online Store, then on your published theme click … > Duplicate (not Duplicate in Canvas). Shopify calls a backup copy before you customize a theme a good idea, so that you can discard your changes and start again if you need to. If you already have 20 themes in your admin, you'll need to delete one before you can duplicate another.
- From your Shopify admin, go to Online Store, then on your published theme click … > Edit code.
- Online Store
- In the Layout folder, click theme.liquid.
- Paste Meta's tag on a blank line directly below the opening
<head>tag. That is Shopify's own instruction for Google's verification tag; Meta asks only that the tag sit inside the head.
- Online Store
- Edit code
- Save the file.
- Go to your root domain, view the HTML source, and search the page for facebook-domain-verification.
Paste it as plain text in the file itself. A tag that a script inserts after the page loads won't be seen, because Meta reads the static page:
Note that our crawler doesn’t use JavaScript while crawling, so the meta tag needs to be part of the page that is static.
If the page source shows the tag and Meta still can't find it, Meta points to Facebook's Sharing Debugger tool for debugging common issues.
When you change or update your theme
Key takeaway
Shopify says the content and settings you manage in the theme editor and the theme code editor are unique to each theme and theme version that you upload. When you publish a new theme, your previous one moves to Draft themes and none of your theme changes are lost, but they stay with that previous theme.
What a theme change does to the tag
| What you do | What happens to your code edits | What to do about the tag |
|---|---|---|
| Publish a different theme | They stay with the previous theme, which moves to Draft themes | Add the tag to the new theme's theme.liquid and check the page source |
| Update the theme, and your edits don't conflict | Shopify includes your code edits in the update | Check the page source once after updating |
| Update the theme, and your edits conflict | All your code changes are removed in the updated copy | Copy the tag into the new version by hand |
Shopify Help Center pages on adding themes, publishing themes and updating themes, read November 2, 2026. The right-hand column is our advice.
No Shopify page we have found describes the verification tag itself in any of these cases (see the box above), so the right-hand column is our advice, not Shopify's. Which other code edits you redo after a switch is covered in our guide to changing your Shopify theme.
If you would rather not think about the tag at every theme change, the DNS route below keeps the verification code outside the theme.
DNS TXT record on a Shopify-managed domain
Key takeaway
Shopify lists verifying your domain with a third-party service among the reasons to edit your DNS settings, and TXT records are added there as custom records.
- From your Shopify admin, go to Settings > Domains and click your domain.
- In the DNS settings section, click Manage, then Add custom record.
- Choose TXT as the type and paste Meta's value. Don't edit the name field.
- Click Confirm.
Shopify says changes to your DNS settings can take up to 24 hours to take effect, so wait before you treat a failed check as a real problem.
Meta and Shopify word one field differently. Meta's developer documentation says to add @ to the Host field if your domain host requires it; Shopify's DNS page says that when you add a new TXT record, you don't edit the name field (both read November 2, 2026).
On a Shopify-managed domain, follow Shopify and leave the name as it is. The @ is for DNS hosts whose form asks for a host value.
If your domain uses custom nameservers, Shopify's DNS settings page doesn't display its records, and the TXT record goes in at your DNS provider instead, as in the next subsection.
DNS TXT record at an outside registrar
Key takeaway
When your domain's DNS is managed by an outside registrar or DNS host, or the domain uses custom nameservers, add the TXT record there, in that provider's DNS settings. Where the provider's form has a Host field it insists on, Meta's instruction is to add @.
Meta's developer documentation says the change typically takes only minutes, but there are cases where it may take up to 72 hours. That figure is Meta's, for adding its TXT entry; the up-to-24-hours figure above is Shopify's, for the domains it manages.
Not sure whether your domain is managed in Shopify or connected from another registrar? Our guide to Shopify domains explains both setups and what each one lets you change.
Check it is live, then run the check in Meta
Key takeaway
Meta checks what it can see, so look first:
- Meta tag: go to your root domain, view the HTML source, and confirm that the tag named facebook-domain-verification is on the page.
- DNS TXT record: use a DNS TXT lookup tool to confirm the record has been updated across your servers.
Then go back to Domains in Meta Business Suite and run the verification for the method you chose. If it fails, match what you see to the table in When Verification Fails below.
Your Verification Checklist
Key takeaway
Steps one to three, five and six are the same for every store. Step four has a meta-tag form and a DNS form; tick it once your form is done. A DNS change can take a while to show up, so you may come back to step five later, and your ticks stay in this browser.
Meta domain verification on Shopify: checklistTick each step as you finish it; your progress stays in this browser.
Meta domain verification on Shopify: checklist
Tick each step as you finish it; your progress stays in this browser.
Have full control of a Meta business portfolio, admin or developer access to your domain, and either a theme whose code you can edit or a custom domain.
Before you tick this off
- You have full control of the business portfolio in Meta
- You have admin or developer access to the domain
- For the meta tag: you can edit the published theme's code (a paid theme only after purchase)
- For DNS: the store has a custom domain, not only its myshopify.com address
As of November 2026, Domains sits in the Brand safety section of Settings; add the root domain there without www or https.
Before you tick this off
- The domain is entered as yourstore.com, with no www and no https://
- You are adding it in the business portfolio that owns the domain, not an agency's
Pick one method, copy the value Meta shows, and skip the HTML file option on Shopify.
Before you tick this off
- One method chosen; Meta needs only one
- The tag or TXT value is copied in full
Paste the tag on a blank line under the opening head tag in theme.liquid of the published theme, or add Meta's TXT record to your domain's DNS.
Before you tick this off
- Meta tag: the theme is duplicated as a backup and theme.liquid is saved with the tag inside the head
- DNS on a Shopify-managed domain: a TXT custom record is added with the name field left as it is
- DNS elsewhere: the TXT record is added at your DNS provider, with @ in the host field if it requires one
View the source of your root domain and find the tag, or confirm the TXT record with a DNS TXT lookup tool.
Before you tick this off
- Meta tag: the home page source shows facebook-domain-verification
- DNS TXT: a DNS TXT lookup returns Meta's value
- For DNS, you allowed time: up to 24 hours on a Shopify-managed domain, or up to 72 hours for the TXT change in Meta's developer documentation
Return to Domains in Meta Business Suite, run the verification, and keep the tag or TXT record afterwards.
Before you tick this off
- The check in Meta succeeded
- The tag or TXT record is still in place
- If you used the meta tag, you will search the page source for the tag again after any theme change
When Verification Fails
Key takeaway
You pasted the tag or added the record, ran the check in Meta, and it came back with an error. Find the message or the situation in the first column.
Failed checks and what to do
| What you see | Likely cause | What to do |
|---|---|---|
| "No DNS entries were found" | Meta found no DNS TXT entries for your domain | Check the record was saved on the right domain, then allow time: up to 24 hours on a Shopify-managed domain, or up to 72 hours for Meta's TXT change per its developer documentation |
| "DNS TXT record doesn't match" | The record holds a different or incomplete value | Copy Meta's value again and replace the record's value |
| "Another Business Account has already verified your domain" | The domain is verified in another business account, possibly a previous owner's | Ask that business to share the domain with your account |
| The tag is in your theme, but Meta doesn't find it | The tag isn't in the static HTML Meta reads: a script adds it, or it was saved in a theme that isn't published | Paste it as plain text in theme.liquid of the published theme, check the page source, then try Facebook's Sharing Debugger |
| Your store is still password-protected | No Shopify page we have found covers this for Meta; for Google verification, Shopify says to deactivate private mode first | Try the same order: deactivate private mode, verify, then reactivate it |
Meta Business Help Center (troubleshooting) and Shopify Help Center (DNS settings, editing theme code, sitemap), read November 2, 2026.
The “already verified” error has a second, less obvious source. If you bought your domain from someone else or took over an existing store, the previous owner may have verified it in their own business account:
This error can also occur if the domain has changed owners and the old owners verified the domain in their Business Account.
Either way, the fix Meta gives is to reach out to the business that holds the domain and request that it share the domain with your account.
After It Verifies: Keep the Tag or Remove It?
Key takeaway
Two official Meta pages disagree about what happens next, and it matters because a theme change or a DNS clean-up can remove the code without anyone noticing.
What Meta says about the code after verification
| Meta page | What it says about the code after verification | Date on the page |
|---|---|---|
| Business Help Center, verifying your domain | "Once your domain has been verified, you can remove the meta-tags, DNS TXT records and HTML files and it won't impact your verification status." | None shown |
| Meta for Developers, Verifying your domain | "Leave the meta tag on your domain home page as it may be checked periodically for verification purposes." It says the same for the TXT entry and the HTML file. | Updated June 30, 2026 |
Both pages read November 2, 2026.
Leave it in place. Keeping the tag or record breaks nothing, while removing it is only safe if the Help Center's reading is the one Meta applies to your domain. In practice that adds one habit: after any theme change, search the page source for facebook-domain-verification again.
On a Shopify-managed domain, the same care applies to DNS: before you ever reset its DNS settings, read what a DNS reset keeps and what it removes.
The Bottom Line
Key takeaway
Verifying your domain is a one-time job with one habit attached.
Frequently Asked Questions
Front-end developer specializing in Shopify since 2017. Experienced in building custom Liquid themes, optimizing storefront performance, and integrating third-party apps. Directs the editorial process behind Ecom Store Pro: sets its topics and the rules every AI-written page must pass before publication.
This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.
Editorial PolicySome links in this article are affiliate links. If you sign up for a Shopify store through these links, we may earn a commission at no extra cost to you. Read our full advertising policy.
