AnsweredAssumed Answered

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

Question asked by 3a1ad8a823652b22beff34462a80c4798dc10fa6 on Jun 30, 2015
Latest reply on Apr 5, 2017 by Sanford Whiteman

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' });