Tracking with Google Tag Manager and Google Analytics

Highlighted

Tracking with Google Tag Manager and Google Analytics

Hi Everyone,

We are using Google Analytics to track the performance of our campaign on Marketo. Is there a way to get the campaign name from Marketo API into Google Analytics?

Thanks

2 REPLIES 2
Highlighted
Level 10 - Community Moderator

Re: Tracking with Google Tag Manager and Google Analytics

Please don't use the term "Marketo API" here. Under no circ's would you be using the API.

2 ways to get the campaign name:

  • On a Marketo-hosted LP, embed the {{campaign.name}} token directly in the page content and pass to GA
  • On a non-Marketo page, embed the {{campaign.name]} as the utm_campaign query parameter
Highlighted

Re: Tracking with Google Tag Manager and Google Analytics

Hi Sanford,

Thank you for your reply, it helps a lot.

One last thing, could you please explain how we can embed the {{campaign.name}} token directly in the page content?

Thanks again