2 of 2 people found this helpful
As you mentioned, to start you'll need to capture the Google's client ID.
You can use this script to automatically add it to all your marketo forms: Capture Google Analytics Client ID and Store in Marketo
Then, you set up a flow in Marketo that pushes the relevant data back to GA using a custom webhook as described on this article: https://www.stephanehamel.net/playground/MarketoGACheatSheet_SHamel_150824.pdf
1 of 1 people found this helpful
But AFAIK segment names aren't exposed to standard webhooks. So you need something more robust for this specific need.
(I'm also not convinced that linking the Unique Code complies with Google's EULA, since it can be used in a public-facing URL to divulge PII.)
Good catch. I had not considered the PII implications but I'll look further into this and circle back.
Thanks for the help!
What a great resource, thanks for sharing and appreciate the help! This definitely looks like the way to go.