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 have tried multiple times to add facebook verification into <HEAD> section but it does not allow me to verify. Pls help.
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 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?