Tracking with Google Tag Manager and Google Analytics | Community
Skip to main content
Damien_Serrano
Level 2
April 18, 2019
Question

Tracking with Google Tag Manager and Google Analytics

  • April 18, 2019
  • 1 reply
  • 2291 views

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

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

1 reply

SanfordWhiteman
Level 10
April 18, 2019

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
Damien_Serrano
Level 2
April 26, 2019

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