I'm trying to verify my shopify so that facebook ads will work. I;ve done it via DNS and meta except i can't wait the 72 hours for that to register. Can anyone assist with doing it via html file? I've read all the tutorials that i can find but haven't been able to locate a walkthrough of how to do it.
Technically speaking you can't use html within Shopify, we use .liquid which is, succinctly and in layman terms, a "HTML with superpowers".
Anyhow, your goal seems a bit hazed: what exactly do you mean by verifying the Shopify account for Facebook ads?
Apologies, i'm probably not using the right terminology. This is my first time setting up an online store.
FB wants me to set up a specific code on my website (options are via DNS, meta-tag or HTML) so that it can verify that the ads that i run on FB are sending people to the right website. I think i only need to do it via one of those three methods, however apparently DNS and meta take up to 72 hours to be read by FB. So i'm trying to figure out how to do it with HTML (or liquid) so that it's instant. I've downloaded my specific HTML file but the instructions say to copy it to the root file of my website. Which is where i'm stuck...
Hope that clarifies my question.
I am having the same problem. I have tried verifying my Facebook Business account by adding a line of code into the <head> section of my theme.liquid but Facebook tells me it cannot verify even though I can see their required bit of code in the source. My other option is to upload an .html file to the root directory which is not possible as they look for a .html file and I can only create a .liquid file.
Have you come across this issue of not being able to verify elsewhere?
Facebook provides 3 options, but only 2 of them are viable in Shopify.
I figured it out not sure if your website is live but if it is not you have to disable your password on the site. I found this Shopify link to help
To verify your domain in FB Business manager you need to follow this Verifying Your Domain. Once you complete the guide. locate your Meta Tag Verification Code in FB Business Manager business settings> brand safety> Meta Tag. The code will look like this: <meta name="facebook-domain-verification" content="your special identifier" />
Copy that code.
Login to Shopify
Online store > Themes > Edit Code > Theme.liquid
Locate the ending header tag </header> in the theme.liquid file and paste the code right above.
Go back to FB Business Manager, business settings> brand safety> Meta Tag > Verify
I am struggling today.
One minute I have access to Instagram shopping and I think everything BTS is complete and I no longer have to deal with facebook mafia but it looks like 30mins later I have all my social media shopping revoked and said that my domain needs to be verified. I have tried all the above strategies and pasted the correct code into my theme.liquid but still no luck.
I just get this message every single time...
I have run out of ideas. My domain name is correct and the same as my site domain. All my accounts are correct with facebook buisness. I do not know what I am missing?
Hello im trying to locate to Upload a ads.txt file to the root directory of my shopify store for google adsense but i dont know where the file is and where to upload the ads.txt file. Can you please help??
I have done this exact process over and over today and it's still not verifying. I've even verified that it's in the HTML of the website, but FB still won't verify.
same here. it asked me to use the debugging code but i keep getting these errors:
The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags."
Adding this comment in the hope it helps someone else. Verifying with a meta-tag has been doing my head in. Been trying for days - did the whole Facebook Sharing Debugger tool, it was scraping the site and seeing the verification code. But no matter what I did, the green 'Verify Domain' button (which you can see on the other options of Upload HTML or Upload DNS TXT record) wouldn't show up. There was no scroll on the window, so it wasn't like I just needed to scroll down further on the page to see it. Was tearing my hair out....until....
I thought to myself 'I wonder what happens if I zoom out in the browser' so I hit Chrome's three dots, click the zoom to 90% and bingo, there's the button. All this time, Facebook's stupid website wasn't set up to deal with a window size that wouldn't show all the page content, and there was no way to scroll to it.
Clicked the (now visible) green 'Verify Domain' button and hey presto, did it instantly.
So, before you give up and throw your laptop or tablet out the window, give the browser zoom a try (you might need to zoom out further than I did) - it might just be what you're looking for!
i did as you said. i put the meta tag in the theme liquid under layout folder under header and it still didnt work. Then i tried putting it above the header but still didnt work. I confirmed it by looking at the page source and its there,
Please see attached for reference of code placement. Make sure you are using the snippet of code that FB provides you. Save and publish.
Is there any other reason why this meta tag may not work? When I checked the html source, the meta tag is showing up from what facebook provided, so I don't know why it's still not verified?
I had the same issue and the solution that worked for me was placing the code right below the <head> tag, towards the top of the theme.liquid code. It didn't work for me when I added it just above the </head> tag.
Just wanted to pop on to say that uploading the code right below <head> also worked for me. It didn't verify straight away but I left it overnight and it had verified when I checked in the morning
I had to log into my facebook on my cell phone. On Chrome it doesnt show you the verify button. Now its verified for me. Took me 3 hours to see that I needed a different browser.
I don't see a "Publish". It looks like when I his "Save" it's automatically publishing since it's already a live site. Is that correct?
Thanks for the information!! Please note you will need to add the HTML link to the bottom of the "theme... liquid file...inside layout folder of your theme."
Re: Meta-tag method, I am at the layout theme.liquid.
Can I just pate the copied facebook-domain verification on the very beginning of No1. line?
Please advise on where is the head to paste the copied txt to theme code.
I was verified right away with Facebook. You have to add the meta verification file at the end of Theme. Liquid.
Between Body and HTML. (Between 143 & 145)
See the screen shot below.
I hope this helps.
I have been trying this for days. I have tried just below <head> and just above <head> and at the bottom between </body> and </html>
No luck at all. =/
I filled in the form here with facebook https://www.facebook.com/help/contact/commerce
. It said verified then when i refreshed on the FB Business page. Still showing as needing to verify on my shopify but i think it is perhaps just trying to catch up with the change with FB.
I successfully did this last month but however, shortly after, Instagram has revoked my absolute to use Instagram shopping saying the domain listed on insta is not connected & customers can not check out. As it happened around the same time as I changed my html file I’m wondering if the two are linked. Has anyone else experienced similar?
Not sure if everyone having problems with this has figured it out... but in case you haven't, I have:
I tried all three (html, meta and DNS), but couldn't get it "verified" UNTIL I refreshed the FB page, typed in my two-factor authentication code and pasted the meta-code right underneath the <head> line, as instructed. Within minutes, I was "verified".
Refresh your FB Business Settings page and do what I did--I think that's why we're having problems. Good luck!
I only did the DNS part after trying to do the HTML and Meta I given up but after reading this thread I hit refresh on the Facebook business page and it already verified my store so guess I wasted my time with trying the HTML ( which I now know wont work for shopify stores ) and meta which I never got done... so once you done the DNS part wait least 30 mins then hit refresh on your Facebook business page. Hope this helps you out there.. ( I use Shopify )
This verification process has been SO BEYOND irritating - I cannot verify my domain for the life of me even though I've followed all of the instructions and legit read ALL of the forums. I've had to request a review 3 different times to get my page verified because of this, and IT'S STILL NOT VERIFIED. Instagram should really have it's own verification process independent of Facebook. It's HORRIBLY confusing for absolutely no reason. I have an Etsy shop so I had to create a separate Shopify website, just so I could create a Facebook catalog, just so I could get my Instagram and Facebook Page linked, and now I have to verify my domain by linking the two again in this seemingly impossible process before I can have my page approved for Instagram shopping. You spend so much money to get your shop all set up and there is NO ONE to help, and their step by step instructions to the verification process doesn't even WORK. UGH. At this point, I really just want to take my business to a different platform all together.
Anyways, if anyone knows how on EARTH I can verify my shopify website domain for Facebook (other than what's already been suggested here) please help me.
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023
You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...By Skye Nov 8, 2023