SEO, AdWords, affiliates, advertising, and promotions
Hi, I have a problem with my Shopify site Facebook Pixel witch connected via the admin area firing twice for AddToCart event. I have installed GA and GTM but they don't have AddToCart events.
Every time after pressing the button 'Add to Cart' event firing twice and I can see in FB Pixel dashboard the same date and time for that event. Also, Facebook Pixel Helper said 'The Facebook pixel activated 2 times on this web page, which can cause errors in your event tracking.'
https://www.screencast.com/t/Kv3rt3shNM
A page for testing: https://greatjonesgoods.com/products/big-deal
Guys, can you give hints what is wrong, I have already tried all the options 🙂
Thank you.
Hi @MaximGJ ,
Have you manually added the pixel in your theme file or have added pixel in preference sections. What i am suspecting is you have twice added pixel once in theme and then in preferences section.
Once check for this possible cause, also if you are using chrome use Pixel Helper chrome extension. It might help you
nope I use only pixel in preference sections. But I found the problem is ajaxify widget which was modifyed
اعتقد انني اضفت بيكسيل مرتين
لا اعلم كيف احذف احدهم ولا اعرف من احذف بالتحديد
Hi @MaximGJ,
Facebook duplicate conversions for both add to cart and purchase are known issues that make it hard for you to really measure your advertising performance and ROAS accurately. It can happen due to various reasons, customers that refreshed the checkout page, clicked and/or viewed more than one ad in the attribution window, issues with scripts with ajax cart and the list go on.
We developed on AdScale a report that helps you to eliminate the double conversions by connecting the click ID and conversion ID directly to the Shopify Order ID, and this can detect duplicate conversions on Facebook & Instagram, or even cross-platform between Facebook & Google. This way you can get the real picture of your advertising performance!
Hey MaximGj, I have been through your issues and screencast.
One possibility for the cause of this error is the manual event which might have been setup through the event setup tool and though you have already connected the pixel through shopify partner integration. It becomes a possibility that both of the events are firing at once, first one from manual setup and other one from partner integration.
solution for this is as per the following steps.
go to business settings > events manager > on the right hand side you'll find the event type (all/custom events) [screenshot attached].
click on the custom event and you'll find all the events setup through the manual setup tool, find add to cart & click on it, then click on manage events and delete it.
you issue is sorted, test your events for a confirmation.
I hope this resolves your issue. Please feel free to revert back to us if it does.
Regards
Team OOBSERVE
How did you fix it? I'm experiencing the same issue
Hi Carlosalaniz, strongly recommended use only Facebook Pixel in admin area shopify. Also I have error in ajaxify template, you can check this file.
Yeah, I only installed it through the admin area and I fixed it. You were right, it was part of the ajax
Hi, how can I see if I'm using ajax and if I`m having the same issue because of that?
Thanks!
Hi i am having the same issue, can you please tell how to get red of showing add to cart twice on event manager.
see here on debugging add to cart firing twice - you need to use dev tools to see what is initiating it and then work backwards from there to limit the script.
https://www.loom.com/share/0ec86db5227747cdb58591fd01ccae31
Hey! Have you tried using any Shopify app for Facebook Pixel?
I recommend using Adnabu’s Facebook Pixel app, which deduplicates any event fired more times. You don’t have to do anything from your end; the app will automatically deduplicate the AddToCart event when tracking.
It can be nerve-racking to figure out what went wrong, but this solution is very simple and doesn't require changing anything in the code.
I hope this helps. 🙂
Masoomi Saxena | Content Writer @ AdNabu
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Try our Nabu for Google Shopping Feed App from Shopify App Store.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024