Note: Before marking it as duplicate please read description carefully
I am creating a module for Facebook pixel tracking and I am stuck at AddToCart
event.
I have seen some 3rd party extensions, but the issue is they are tracking AddToCart
after page load and my AddToCart
event should based on ajax based.
So my question is, how can I trigger AddToCart
facebook pixel code after ajax add to cart?