Open utterances-bot opened 2 years ago
Hi Mark. I was just wondering where to start with Dataflow + GA4 so this is perfect - thank you :) I've got the GTAG GET API tag running - in preview session_id, client_id and GCLID are all set to true. However, when I'm setting up the GA4FetchEmailData tag and the event parameters, I'm not seeing the variables from the GET API tag, e.g. gtagApiResult.session_id - so I'm getting this error when previewing: Unknown variable “gtagApiResult.session_id” found in a tag. Edit the tag and remove the reference to the unknown variable. I'm sure I'm missing a step...
Activating GA4 events with GTM Server-Side and Pub/Sub for Fun and Profit · Mark Edmondson
The code bit of the blog
https://code.markedmondson.me/sending-ga4-events-pubsub/