All things Shopify and commerce
My pixel is installed and seems to be working correctly. I used the event setup tool and it worked fine as well.. except that when I navigate to the checkout from the cart, the setup tool disappears so I'm not able to add a purchase event. If I navigate back to the cart, it reappears.
Anyone else experience this?
Any suggestions on what I can do to get the purchase event set up?
Thanks in advance 🙂
I have the exact same issue - did you figure it out how to solve this issue?
No. I'm going back and forth with Facebook's help desk but they say i should just be able to erase all the accounts.. but i can't. I just get errors over and over.
You guys figured out what the problem was? I'm having this exact same issue.
After several painful hours, I have found a fix to this!
Go to Shopify > Setting > Checkout and paste the facebook pixel code into the Additional scripts box.
Hit save, and then when you go back to the checkout page, you should see the facebook event setup tool box does not disappear anymore.
Good luck!
No luck bro,
I put the FB pixel code in the additional scripts box but after refreshing no luck.
I even tried it on 2 other browsers but still nothing.
And to just be clear what script I added:
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '115642807035374');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=115642807035374&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
I had been struggling with this for many many many days and I have just managed to get it to work for me. I had been doing exactly the same thing however what worked for me is adding the missing opening and closing head tags into the additional scripts box. My base pixel code is installed into my theme code using the same code as yourself (with my own pixel ID ofc) and in additional scripts I just added <head> above the pixel code and </head> beneath the code.
If you want to track a purchase then I would recommend adding the fbq('track','Purchase'); beneath the page view track.
Hope this helps
Hey Guys,
Need some help here. Ive added the fb pixel code into additional scripts plus added the <head> tags as instructed, but the event tool still does not show up on the cart page or any of the folowing pages. when i go to the previous page it reappears. Any help is appreciated. Thanks
I FOUND A FIX!
Been having this issue for weeks and finally found another thread with a fix.
Go to Online Store > Preferences > Customer Privacy and make sure the limit tracking boxes are unchecked
That fixed it for me. Hopefully it does for you too.
hi,
it didn't work for me. Customer privacy box was already unchecked for me. I also turned off ad blockers just to see if it will show up. that didn't work either.
I had encountered the same situation as you. I found a solution and that works for me is the below link.
I can now trigger the "purchase" event in pixel.
Just copy the code to Checkout -> additional script
https://feedarmy.com/kb/adding-facebook-conversion-tracking-pixel-to-shopify/
Hi I installed the code as said in the article above https://feedarmy.com/kb/adding-facebook-conversion-tracking-pixel-to-shopify/ and I also integrated the Facebook app with shopify (I meant downloading the FB app on shopify to enable FB sales channel on shopify) and enabled Data sharing settings and I got this hint when I chatted with a Shopify customer support who said you need Shopify partner integration with FB pixel rather than manually putting the code in theme.liquid because it will be better for FB Sales Channel which at first I said to her how shall I do that coz I have already manually installed it and now I need no further confusion so I came across this article of theirs https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/facebook-pixel and this https://help.shopify.com/en/manual/orders/status-tracking/customize-order-status/add-conversion-trac... thats when I thought of giving it a shot to downloading the FB sales channel app in shopify and Boom I got the event tool setup box on my Purchase page process after clicking Checkout (which as you know was not showing up in the first place) and I did not know what was I doing exactly but now I got my lesson learnt the hard way and at the end I believe what you gotta do is keep trying different things and keep experimenting with this stuff for which I am not a techie at all. But I hope this helps someone who is as non techie as it gets and finds this helpful and dont worry I am still in this with you because tomorrow I might have another problem crop up for me.
Woah! That helped! Thank you!
Explains why my fiverr gig from Bangladesh had no problems using it while I - as a European - couldn't use it at all on the checkout page.
Thanks so much again!
This actually worked, thanks!!
it worked thanks so much
thanks so much it worked
Hey,
I'm having a similar issue. When I navigate to the checkout page, my event setup tool keeps loading forever. Can you guys suggest any fix?
Hi ZiaAkbar,
Are you able to fix your problem?
Mine is the same... keeps loading.
Thank you, James. I have been solving the same problem many many days like yourself, and finally I found this comment of yours and it helped. Really grateful. It works now.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024