I'm trying to integrate Google Analytics in my Smart TV Application.
It is a Javascript based application, and I have tried all the solutions available on the SamsungDForum, but no one works.
In the part of the main index.html file, I load Google Analytics:
<script type='text/javascript' async='true' src='https://ssl.google-analytics.com/ga.js'></script>
Then, I am tracking the page entrance:
<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push([ '_setAccount', 'UA-XXXXXXXX-X' ]);
_gaq.push([ '_setCustomVar', 1, 'Device Information', 'Samsung Smart TV' ]);
_gaq.push([ '_trackPageview' ]);
_gaq.push([ '_trackEvent', "Application", "Start" ]);
</script>
Unfortunately, I cannot see the page tracked inside my Analytics account. Real account id is not UA-XXXXXXXX-X, I am using the correct ID in actual code.
What I am doing wrong?