AnsweredAssumed Answered

How to insert Google Analytic Event tracking code in a Guided Marketo Landing Page?

Question asked by 14771092ce2bd67dbb14b9b797871a469cb39d45 on Sep 28, 2016
Latest reply on Sep 30, 2016 by sanford.whiteman


I came across in difficulties for inserting ga event tracking code in a marketo landing page. I have 3 different form & I want to track their activity.

I was trying something like below which seems not working.


<!-- EVENT TRACKING Download --> 

<script src="//"></script>
  <form id="mktoForm_2745"></form>

<script>MktoForms2.loadForm("//", "290-DNL-975", 2745, function(form) {
    form.onSuccess(function(values, followUpUrl) {
      ga('send', 'event', 'lead', 'trial', 'window.location.href');
  <!-- EVENT TRACKING Download-->


May you kindly provide me the steps to do this.