digitalwithyou / craft-facebook-conversion

Craft CMS plugin to send web events directly to Facebook
https://digitalwithyou.com/en/plugins/facebook-conversion/getting-started
Other
0 stars 3 forks source link

Event ID parameter #33

Closed dellanesta closed 1 year ago

dellanesta commented 1 year ago

Hi @Diewy we installed the plugin and configured the Meta pixel via Google Tag Mnaager. We pass server-side events using the twig function found in the documentation. however we fail to pass the "event id" of server side events and this prevents us from deduplicating events between Pixel and Conversion API. How can we fix? Looking at the code from the repository in the EventFunction class and subsequently in the sendEvent function there is no possibility to add the event_id. Thank you, Michele

Diewy commented 1 year ago

Hi Michele,

Since this issue has been flagged before (#14, #15), I've added a new Event ID parameter in the Twig function.

dellanesta commented 1 year ago

Hi @Diewy perfect, thank you