facebookincubator / ConversionsAPI-Tag-for-GoogleTagManager

This repository will contain the artifacts needed for setting up Conversions API implementation on Google Tag Manager's serverside. Please follow the instructions https://www.facebook.com/business/help/702509907046774
Apache License 2.0
64 stars 29 forks source link

Official guide refers to x-fb-event_id but template expects event_id #26

Open weotch opened 2 years ago

weotch commented 2 years ago

The guide at https://developers.facebook.com/docs/marketing-api/conversions-api/guides/gtm-server-side refers to x-fb-event_id being the GA4 event parameter name but this line makes me think it should be just event_id:

https://github.com/facebookincubator/ConversionsAPI-Tag-for-GoogleTagManager/blob/57278940502aff341c06441a558545a63699c245/template.tpl#L172

For instance, with this GTM config:

Google Tag Manager 2021-11-29 at 3 48 20 PM

I see this in the server side GTM debugger:

Tag Manager Debug Mode 2021-11-29 at 3 49 23 PM

When I use x-fb-event_id as the param name in GTM, I don't see any event_id in the server side GTM debugger.

agustinv commented 2 years ago

+1

whycantidraw commented 1 year ago

+1

ajosephjohnson commented 8 months ago

+1