magento / meta-for-magento2

33 stars 19 forks source link

Duplicate events at checkout - All magento users with custom checkout #65

Open davirs opened 1 month ago

davirs commented 1 month ago

The problem is simple: Duplicated event at checkout (purchase)

image

IMPORTANT: API events are being fired correctly! Events via script are duplicating.


Any Magento store that uses a third-party checkout, such as FireCheckout, which is the best Magento checkout currently, the meta events in that checkout will be duplicated. The reason is that the Facebook extension generates the event within the default Magento checkout url, even the store configured to use these third-party checkouts with a very specific URL and different from the default Magento checkout URL, which does not make the least sense!!!

What needs to be made possible is some way of configuring within the meta extension which checkout is being used so that the event is not triggered twice. Or alternatively say what the checkout URL is.

events are currently fired on:

mysite.com/compra-segura (custom checkout is active)
mysite.com/checkout (custom checkout is not active) - (reinforcing that in this case it should not be triggering events)

Magento 2.4.6-p3 php 8.2 meta 1.3.0

davirs commented 1 month ago

complementing the ticket, I tested it in default magento and it continues to duplicate the pixel.