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.
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?
To ensure that customers click through to your primary domain, follow these steps:
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.
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.
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.
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 !!!
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.
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 -
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.
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.
If your domain redirects or DNS settings are not properly configured, Meta might crawl the wrong version of your site.