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

Configure user_data to pass for GA4 "view_page" event #35

Open believethehyped opened 2 years ago

believethehyped commented 2 years ago

Hello,

I have configured GA4 with Conversions API and server-side GTM. Everything works fine, except that "view_page" event is only passing user IP address, Agent and click ID.

I couldn't find any information how I can pass user_data (first name, last name, country, email, phone) to PageView event on Facebook. User data is successfully passed on events like add_to_cart, checkout, etc.

How I can configure this?

Thanks!