facebookfacebook-pixelfacebook-ads

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?


Solution

  • [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