Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user_data variable undefined Tagmanager webserver #23

Open
danielawde9 opened this issue Oct 7, 2021 · 2 comments
Open

user_data variable undefined Tagmanager webserver #23

danielawde9 opened this issue Oct 7, 2021 · 2 comments

Comments

@danielawde9
Copy link

Hello,

I set up the FB conversion API with google tag manager and it worked just fine, my only issue is that the user_data is not sending from the tag manager web server to the server, what seems to be the issue?

@koconnor3
Copy link

I can't debug your personal implementation, but user_data works with this template. Check out @sahava's excellent article detailing how to set this up, it includes user_data: https://www.simoahava.com/analytics/facebook-conversions-api-gtm-server-side-tagging/

@saurabhghatnekar
Copy link

saurabhghatnekar commented Nov 1, 2021

@danielawde9 did you set the first_party_collection flag to true for the GA4 tag?. You must do this to be able to pass the user_data parameters to the Server-Side GTM

ref - https://developers.facebook.com/docs/marketing-api/conversions-api/guides/gtm-server-side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants