29 Replies Latest reply on Apr 5, 2017 1:10 PM by Sanford Whiteman

    How do you create a Munchkin API call to track video plays?

      To call the API for a web event such as video play, do you have to create a separate javascript code for each webpage or landing page that has a video on it? Or what type of URL do you need to input in the bolded section below (found this basic code template in the developers marketo website)? Would we put this code inside, below, or above the existing munchkin tracking code in our landing page templates and website? Where can we get a basic template of the javascript code so we can pass to our developers to create the code?

       

      mktoMunchkinFunction('visitWebPage', { url: document.location.path, params: 'playedVideo=true' }); 

       

       

      Thanks,

       

      Shirleen