Re: Tracking Video Plays w/ Munchkin clickLink

Anonymous
Not applicable

Tracking Video Plays w/ Munchkin clickLink

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..." 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.

Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: Tracking Video Plays w/ Munchkin clickLink

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


Anonymous
Not applicable

Re: Tracking Video Plays w/ Munchkin clickLink

link is not working
Anonymous
Not applicable

Re: Tracking Video Plays w/ Munchkin clickLink

Got working. Thanks for your help guys.
Anonymous
Not applicable

Re: Tracking Video Plays w/ Munchkin clickLink

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