Pushing Marketo Segmentations to Google Analytics | Community
Skip to main content
January 2, 2019
Question

Pushing Marketo Segmentations to Google Analytics

  • January 2, 2019
  • 1 reply
  • 3379 views

Hi Community!

I'm looking into some advanced integration options between Marketo and Google Analytics.

Specifically, I'd like to add Marketo segmentations to Google Analytics as a custom dimension (ie. Industry Segment = B2B)

I understand that with Marketo RTP you can push some Marketo data (industry, category, group) to GA through a native integration (Integrate RTP with Google Universal Analytics - Marketo Docs - Product Documentation). However, I'm not an RTP customer, so it sounds like I'll need to figure out a workaround that would mirror this process for my industry segment attribute.

Based on some initial research it sounds like there is some potential to do this through a data import using the client ID as a mapping key between Marketo and GA. In this case, the client ID would be used to map my industry segment to Google Analytics as a custom dimension.

If anyone has any insight into this process, I'd really appreciate it. I'm also totally open to other ideas.

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Yanir_Calisar2
Level 2
January 2, 2019

Hey Nate,

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

Good luck!

Yanir.

SanfordWhiteman
Level 10
January 3, 2019

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.)

January 3, 2019

Hi Sanford,

Good catch. I had not considered the PII implications but I'll look further into this and circle back.

Thanks for the help!