ConversionsAPI-Tag-for-GoogleTagManager icon indicating copy to clipboard operation
ConversionsAPI-Tag-for-GoogleTagManager copied to clipboard

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

Open weotch opened this issue 4 years ago • 3 comments

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.

weotch avatar Nov 29 '21 23:11 weotch

+1

agustinv avatar Feb 15 '22 05:02 agustinv

+1

whycantidraw avatar Aug 07 '23 09:08 whycantidraw

+1

ajosephjohnson avatar Jan 05 '24 18:01 ajosephjohnson