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.