Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

Google Ad Manager - click tracking and wider click area

0 votes
23 views
added Jul 6 in Google tools by lcjr Second Warrant Officer (6,120 points)

Bottom area are left for youtube default controller, play and watch on youtube.

<html> 
  <head>
    <script type="text/javascript">
    // Change the value of this string to your URL
    var clickTag = "https://www.youtube.com/watch?v=vhMZSAMBSLE";
    </script>
  </head>   
  <body style="margin: 0px;"> 
    <a href="javascript:window.open(window.clickTag)" style="position:relative; display:inline-block;z-index: 2;">
      
      
      <div style="position:absolute;height: 224px;width: 300px;z-index:1;right:0px;"></div>
      <iframe width="300" height="250" src="https://www.youtube.com/embed/vhMZSAMBSLE?autoplay=1&amp;rel=0&amp;loop=1&amp;mute=1&amp;playsinline=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen=""></iframe>
    </a> 
   </body>
</html>

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...