You can restrict or allow certain people to see these statistics. Manage this restriction easily by visiting the management page of your station and clicking on Settings. Then select privacy settings and from the dropdown: "Who can view stats" you can select anyone in order to make this widget public to anyone.
Clicking on a country enables you also to see in detail the specific regions inside the country of the listeners.
This widget relies on three parts to work:
- The CSS. A starter stylesheet file is included inside the plugin. You can overwrite it though by including your own CSS file in the according settings to arrive at a design that matches your website's look & feel.
Check out the live demo below and click to get instructions for using the code on your website.
Include our sample stylesheet, in the <head> of your page:
<link rel="stylesheet" href="//www.radiojar.com/wrappers/api-plugins/v1/css/live-stats.css">
Or download it and tweak it to your liking.
Include the following code at the point in your web page where you want to display the listeners map:
<div id="rj-live-stats"> <section id="listeners" class="label"><span id="listenersNumb"></span> Listeners Online</section> <section class="map" id="regionMap"> <div id='region-map'></div> </section> <section class="map" id="markerMap"> <button id="worldMapBtn" class="btn noContent"><i class="icon-globe"></i> World Map</button> <div id='marker-map'></div> <div id="legend"></div> </section> </div>
Include the following code just before the closing body tag. Instead of "u0510s7hb", use your station's streamname. You can find it in the management area of your station: select Tools and then Widgets (check out the screenshot to the right for the exact location).