Facebook Domain Verification shoes internal Shopify URL

Topic summary

A user is experiencing an issue where Facebook Domain Verification and Klaviyo analytics show traffic routing through Shopify’s internal URL (e.g., squ4123-d.shopify.com) instead of their custom domain (myawesomesite.com), despite setting the custom domain as primary in Shopify.

Recommended Solutions:

  • Facebook Business Manager: Verify the Facebook Pixel points to the custom domain in Events Manager, and remove the internal Shopify URL from verified domains under Brand Safety > Domains
  • DNS & Verification: Re-verify the domain, cross-check DNS settings, and ensure the Facebook meta verification tag is added to the section of the primary domain’s theme.liquid file
  • Klaviyo Integration: Check Settings > Integrations to confirm Klaviyo pulls data from the custom domain; may need to re-sync if showing internal URL
  • Shopify Redirects: Confirm automatic redirects from internal URL to custom domain are functioning properly

Current Status:
The user confirmed most steps are correct but cannot find a way to “re-sync” Klaviyo, and the integration still displays the internal Shopify URL. The discussion remains open with the Klaviyo integration issue unresolved.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

Hi all,

I’m integrating Klaviyo, Shopify, and Facebook, and I installed the apps. However, when I checked my Klaviyo “sources” it was showing Facebook routed people to the Internal shopify URL (you know, the funny one like squ4123-d.shopify.com).

I double-checked my Shopify Domain settings has the actual domain “myawesomesite.com” as the Primary domain, and it does. Still, when I check Facebook Business Manager, I see two domains verified:
squ4123-d.shopify.com AND myawesomesite.com.

How do I ensure that myawesomesite.com is the one that is used when customers click through from Facebook?

Thanks a bunch!

1 Like

Hi @heydrew , thank you for posting here!

To ensure that customers click through to your primary domain, follow these steps:

  1. Redirect Internal Shopify URLs: Verify that all traffic to your Shopify internal URL (e.g., squ4123-d.shopify.com) is automatically redirected to your custom domain (myawesomesite.com). Shopify generally does this by default when the primary domain is set correctly, but it’s good to confirm it’s working.

  2. Update Facebook Pixel Settings: In Facebook Business Manager, go to Events Manager and ensure the Facebook Pixel is set to your primary domain (myawesomesite.com) rather than the Shopify internal URL. This helps align all tracking and ensures Facebook associates clicks with the correct domain.

  3. Domain Verification in Facebook Business Manager: Under Brand Safety > Domains, set myawesomesite.com as the priority by removing the Shopify internal domain from the verified list if possible. Facebook allows you to verify multiple domains, but for clarity and SEO benefits, it’s best to have only your primary domain verified if it’s actively in use.

  4. Check Klaviyo Source Attribution: In Klaviyo, go to Settings > Integrations and recheck the Shopify integration settings to make sure Klaviyo is pulling data from myawesomesite.com. You may need to re-sync if it’s showing the internal domain.

If my answer is helpful, please let me know by accepting the Solution and giving a Like !!!

1 Like

This was very useful and I followed the steps confirming all are correct, except the final step in Klaviyo Integrations. It still shows my internal Shopify URL (ex: squ4123-d.shopify.com) and not “myawesomesite.com.” Unfortunately, I can’t find a way to “resync” my site on Klaviyo.

I guess I’m trying to clarify if Klaviyo should say “squ4123-d.shopify.com” or “myawesomesite.com”?

Hey there, I can help with the Facebook part for this.

In my opinion, when Facebook Domain Verification shows an internal Shopify URL, it means the meta tag or DNS record for verification is applied to a subdomain or internal Shopify URL rather than the primary domain. This often happens if -

  1. Shopify automatically sets certain internal URLs or subdomains for hosting or previewing your store. If the meta tag for Facebook domain verification is placed in this context, Facebook may pick up on these internal URLs.

  2. The Facebook domain verification code may be inserted into the wrong section of your Shopify store’s theme files, such as on a Shopify-hosted subdomain instead of the main domain.

  3. If your domain redirects or DNS settings are not properly configured, Meta might crawl the wrong version of your site.

You can also read this - https://help.shopify.com/en/manual/domains/add-a-domain/connecting-domains/verify-domain-ownership

To fix this, do the following -

  • Retry verifying the primary domain. Change the primary domain to myawesomesite.com.
  • Cross-check DNS setting points.
  • Even on Meta Business Manager, re-verify the domain by adding myawesomesite.com.
  • You can also add the Meta (Facebook) verification meta tag to the header section of the theme.liquid file for your primary domain.

Hope this helps :slightly_smiling_face: