Adding Google Analytics code to your player

NOTE: If you have added analytics tracking code to your station's website, they will not be tracked for the SoCast player unless you follow the instructions below in addition to setting the code up for the website.

To do this you need to find your Google Analytics tracking code. This is done by following these steps:

  1. Create a Google Analytics Account: https://support.google.com/analytics/answer/1008015?hl=en
  2. Set up a Web Property: https://support.google.com/analytics/answer/1042508
  3. Create your Tracking Code: https://support.google.com/analytics/answer/1008080?hl=en
  4. Place the tracking code in your player's  http://admin.socastsrm.com/player/customHTML as the last item in the Custom Footer HTML section.  Note: it will also work in the Custom Header section however, the Footer is recommended.  It should look like this (but with a different UA ID):

<script>

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-1234567-12', 'auto');
  ga('send', 'pageview');

</script>

NOTES:

  • Please allow 24 hours for your website analytics to start appearing; if no results are appearing after that time it's recommended you:
    • Confirm the full tracking code has been copied and pasted
    • The UA ID matches the one that's associated with your website
    • If neither of these steps helps, please contact SoCast Support
  • When copying and pasting into the Customer Header HTML be careful not to interfere with any other code you've placed in this area

Filter by label

There are no items with the selected labels at this time.