The first piece of code needs to be placed at the bottom of your HTML page, just before your </body> tag:
the second piece of the code needs to go where I want the player to be on my site that code is:
<div id="es_stream_summary" class="es_stream_summary" style="width:300px; height:200px;" >Loading...</div>
I've tried adding the first piece of the code in Tracking Tools & Analytics, new tool then choosing custom. Then placing the second piece in HTML iframe but I can't get it to show. Again any help would be very, very grateful.