Skip to main content
July 16, 2013
Question

Tracking Video Plays w/ Munchkin clickLink

  • July 16, 2013
  • 4 replies
  • 1114 views
Hello,

I'm trying to see if this would work. I'm trying to track clicks on all videos on our website. The videos Wistia videos iframed into our site.  Is this the correct way to track the click event in Marketo?

HTML
<iframe src="http://fast.wistia.com/embed/iframe/9h01ktaglb?controlsVisibleOnLoad=true&version=v1&videoHeight=360&videoWidth=640&volumeControl=true" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" width="640" height="360"></iframe>

JS
<script src="http://fast.wistia.net/static/embed_shepherd-v1.js"></script>

<script>
  wistiaEmbeds.onFind(function(video){
    video.bind("play", function(){
      mktoMunchkinFunction('clickLink',{url:'/embed/iframe/9h01ktaglb'});
      return this.unbind;
    })
    });
  });
</script>



Thank you Javascript wizards.

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

4 replies

July 18, 2013
Eric Hollebone has published sample code to achieve this at http://test.hollebone.ca/marketo-munchkin-event-tracking/


July 29, 2013
link is not working
July 29, 2013
Got working. Thanks for your help guys.
July 29, 2013
Tyler do you have time to chat. I wanted to pick your brain on how this is working for you. anton.belo @ saasmarkets.com


Best,

Anton