facebookarchive / GoogleTagManager-WebTemplate-For-FacebookPixel

Facebook Pixel - Custom Tag Template for Google Tag Manager.
Apache License 2.0
38 stars 24 forks source link

facebook pixel failed #24

Open pinlow opened 2 years ago

pinlow commented 2 years ago

Not sure why the gtm facebook enhanced ecommerce tag stopped working today. The enhanced ecommerce tag has fired but failed.

When checking facebook pixel helper and 'test events' feature on facebook events manager, pixel is not firing properly either. image

pinlow commented 2 years ago

It is not firing on website homepage but firing on product pages.

sahava commented 2 years ago

The template should work just fine (just tested). If an Enhanced Ecommerce -integration FB tag fails, it's because the page doesn't have a valid Enhanced Ecommerce object when the tag fires. The tag tries to find the EEC object and then convert it to FB format. If there is no such object in the dataLayer, it fails. So check the content of dataLayer when the FB tag fires – is there an ecommerce object with one of the valid FB event types (detail, add, checkout, purchase)?