NOTE: If you have the SoCast player, you will need to add it to your player settings as well. Click on the link below this text with the tracing code copied, and you can follow the instructions from Step 5.
Adding Google Analytics code to your player
To do this you need to send us your Google Analytics tracking code. This is done by following these steps:
- Create a Google Analytics Account: https://support.google.com/analytics/answer/1008015?hl=en
- Set-up a Web Property: https://support.google.com/analytics/answer/1042508
- Create your Tracking Code: https://support.google.com/analytics/answer/1008080?hl=en
- Place the tracking code in http://admin.socastsrm.com/account/website as the last item in the Custom Header HTML section. It should look similar to this sample code below (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