Describe the bug
When enabling partytown and firing a Facebook Pixel event, the browser reports TypeError: Object.keys called on non-object. Does not occur with same code, non-partytownified.
5112d82c-890e-4cff-873c-0bb4a9e77ff9:2 TypeError: Object.keys called on non-object
at u (fbevents.js:26:77412)
at eval (844784756754223?v=2.9.90&r=stable:29:77128)
at eval (844784756754223?v=2.9.90&r=stable:29:78361)
at Object.eval [as SignalsFBevents.plugins.automaticmatchingforpartnerintegrations] (844784756754223?v=2.9.90&r=stable:29:78381)
at f.__fbeventsModules.f.getFbeventsModules (fbevents.js:26:2594)
at eval (844784756754223?v=2.9.90&r=stable:29:78405)
at eval (844784756754223?v=2.9.90&r=stable:29:78711)
at Proxy.eval (844784756754223?v=2.9.90&r=stable:29:78715)
at Me (5112d82c-890e-4cff-873c-0bb4a9e77ff9:2:7941)
at 5112d82c-890e-4cff-873c-0bb4a9e77ff9:2:20233
Describe the bug When enabling partytown and firing a Facebook Pixel event, the browser reports
TypeError: Object.keys called on non-object
. Does not occur with same code, non-partytownified.To Reproduce Live example
Minimal code:
Result:
Non-partytown code, without an error:
Partytown version 0.7.1