15 Replies Latest reply on Sep 30, 2016 1:11 PM by Sanford Whiteman

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


      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="//app-ab06.marketo.com/js/forms2/js/forms2.min.js"></script>
        <form id="mktoForm_2745"></form>

      <script>MktoForms2.loadForm("//app-ab06.marketo.com", "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.