Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you verify user-owned subdomains in Facebook?

As part of the upcoming changes to Facebook Ads, you now must verify ownership of your domain name.

We operate a SaaS platform where user content is hosted on subdomains (myaccount.example.com etc). We need these users to be able to verify ownership of their domain so they can track their own events. We have enabled them to add the meta tag on their domain, and this verifies okay.

<meta name="facebook-domain-verification" content="codefromfbhere" />

Subdomain is verified successfully

However, the problem is, when you go into 'Events manager' -> 'Aggregated event measurement' -> 'Configure web events', it shows me the root domain instead of the subdomain I just verified (e.g. example.com instead of myaccount.example.com).

Root domain shows instead of subdomain

This is possible, as Leadpages has achieved the same goal. When you add in a Leadpages subdomain, you're able to verify it via meta tag, and it shows the subdomain in the 'Web event configurations' area.

I don't see any extra headers that they have provided or anything else that would enable this.

How do you mark subdomains as independent from the eTLD+1?

like image 635
Marc Fowler Avatar asked Feb 12 '21 00:02

Marc Fowler


People also ask

Can you verify a subdomain on Facebook?

No, domain verification status is inherited by subdomains. For example, verifying "domain.com" will also verify "m.domain.com". You will need to complete a separate verification process for different top level domains.

How do I confirm domain ownership on Facebook?

Navigate to the DNS record section of your domain host. Add the TXT entry to your DNS record. Add @ to the Host field (if it is required by your domain host). Once the changes have propagated across your domain's web servers, click the Verify button at the bottom of the DNS Verification tab for the selected domain.

How do I verify the ownership of a domain on Facebook?

Upload an HTML file provided by Facebook to your web directory and confirm domain ownership in Business Manager. Add a meta tag to the <head> section of your domain home page If you are verifying a domain on behalf of a client (e.g. as an agency) please make sure that the domain is verified in the domain owner's Business Manager.

How to verify the root domain of a Facebook event?

We have verified the root domain example.com inside Facebook's 'Brand Safety' -> 'Domains' area and this is displaying as verified, however, when I go in to the 'Aggregated event measurement' section it tells me the domain is owned by another account, which it is not.

What is Facebook’s Public Suffix List for domain verification?

Facebook just announced they will be supporting the Public Suffix List for domain verification and event configuration. This means that merchants using a registered domain on the Public Suffix List will be able to use that domain for verifying and configuring their top 8 events on the domain. For example, if myplatform.

What is domain verification and how do I use it?

Domain Verification is the best way to handle ownership if: If you are verifying a domain on behalf of a client (e.g. as an agency) please make sure that the domain is verified in the domain owner's Business Manager. They can always share access to the domain with your Business Manager later.


Video Answer


2 Answers

I wanted to chime in with the perspective of someone who works for Facebook. For most businesses, even ones that host pages for other businesses, Aggregated Event Measurement without anything extra is the correct solution.

Advertisers who do not own their own domains will not be able to verify the domain for the purpose of event configuration in Ads Manager. Advertisers may consider purchasing their own domain to continue running their campaigns uninterrupted, or moving toward link clicks/landing page views for campaign optimization and reporting. We are currently investigating other solutions for this use case but do not have any additional information to share at this time.

For a very small number of businesses already on the Public Suffix List (PSL) subdomains will be able to get data as if they were a root domain. This is because being on the PSL basically makes the root domain name act as if it was a TLD (such as “co.uk“ or ”gov.au“). In almost every case it does not make sense for sites to request to be added to the PSL as this dramatically changes how the Public Suffix listed domain name will function.

The PSL process is intended only for platform providers that provide subdomains for large numbers of small businesses which really ought to be treated as though they were in fact separate domains.

The Public Suffix List is not useful, nor intended to be used as a means to gain additional subdomain events reporting. Adding a domain name to the PSL means that there will be total cookie separation between subdomains and that cookies will become disabled on the root domain. If you a domain gets added to the PSL you'll not have much control for that site itself. For example, if you have a /login page on that domain. This may not work as it does today if you proceeded with a PSL addition, as cookies may get disabled on the root domain.

It’s also important to note that browsers will enforce the behavior described based on their own update cadence of the PSL. Some browsers don't update their lists more regularly than bi-annually. This means that if you're on the list and a browser updates their copy of the list, and you later decide to not be on the list, there may not be an easy way to back out the effects; it's not as simple as submitting another request to get taken off of the list.

More information can be found at Facebook’s help center article here.

like image 138
n8schloss Avatar answered Oct 22 '22 05:10

n8schloss


[Update Mar 19 2021]

Facebook just announced they will be supporting the Public Suffix List for domain verification and event configuration. This means that merchants using a registered domain on the Public Suffix List will be able to use that domain for verifying and configuring their top 8 events on the domain. For example, if myplatform.com is a registered domain on the Public Suffix List, then Jasper, a merchant with the subdomain jasper.myplatform.com, would now qualify as an effective eTLD+1 and would be able to verify "jasper.myplatform.com" and use it to configure their top 8 events in the web events configuration tool.

Read more here: https://developers.facebook.com/docs/sharing/domain-verification

[Original Answer]

For the upcoming changes for Apple iOS 14.5, you can only verify root domain, which is example.com in your example in order to setup the web event configurations.

The only way you can do this is provide your client's a way to buy/setup their own domain on your service.

You may watch the webinar recording here https://www.facebook.com/business/m/sessionsforsuccess

like image 35
Clementtang Avatar answered Oct 22 '22 05:10

Clementtang