Rare pixel problem

I have a problem with my website (trade theme)

I contacted shopify support many time and meta support and none of them found a solution and shopify told me this never happened before ??My pixel only work when I set it up manually its imposible for me to activate my pixel with the facebook meta app

2 Likes

Hi @Sousoudj

What you’re experiencing is a known issue with some older or highly customized Shopify themes like Trade. The Facebook/Meta app cannot always automatically insert the Pixel, which is why it only works when added manually.

Here’s what you can do:

  1. Manual Installation (Recommended)

    • Go to Online Store → Themes → Actions → Edit Code → theme.liquid

    • Paste your Meta Pixel code just above the </head> tag.

    • Add event tracking code where needed (e.g., checkout pages) to ensure all actions are tracked.

  2. Check for Theme or App Conflicts

    • Some scripts or apps may prevent the Pixel from being added automatically. Temporarily disable other apps to test.
  3. Use Google Tag Manager (Optional)

    • You can install the Pixel through Tag Manager instead of the app, which often avoids conflicts and gives more control.

:light_bulb: Key insight: On Trade and similar themes, manual installation or Tag Manager is usually the only reliable solution, as automatic integration via the Meta app may not work.

I Hope It’s HELP

Best

Nobble

Hello,

If you are still experiencing issues with your Facebook Pixel and prefer not to use the native Facebook and Instagram apps for tracking, I recommend implementing Google Tag Manager.

It provides a centralized platform to manage and deploy tracking codes, offering greater flexibility and control over your e-commerce event data.

Your Meta (Facebook) Pixel only works manually because of a connection or permission issue between Shopify and Meta, or a theme conflict (especially since you’re using the Trade theme).

Try this:

1. Disconnect & Reconnect the Facebook & Instagram app in Shopify.

2. Remove Shopify from your Facebook Business Integrations, then reconnect using the Facebook account that owns the Pixel.

3. Check permissions,make sure you and Shopify both have “Manage Pixel” access.

4. Set Data Sharing to “Maximum” in Shopify.

5. Test with the Facebook Pixel Helper.

6. If it still fails, switch temporarily to the Dawn theme your current theme may be blocking the script.

If the pixel works in Dawn, then the issue is inside your Trade theme’s code (usually missing {{ content_for_header }}).

You can continue manual setup or enable Conversions API directly

through Meta as a backup.