Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants