Why is Sangoma spying on me?!

Hello.
Accidentally noticed that in the file /var/www/html/admin/views/footer.php strings exist

if ($amp_conf['BROWSER_STATS']) {
        $ga = "<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-1862516-7', 'auto');

                        ga('set', 'dimension1', fpbx.conf.dist.pbx_type);
                        ga('set', 'dimension2', fpbx.conf.dist.pbx_version);
                        ga('set', 'dimension3', fpbx.conf.ASTVERSION);
                        ga('set', 'dimension4', fpbx.conf.ver);
                        ga('set', 'dimension5', $.urlParam('display'));
                        ga('set', 'dimension6', fpbx.conf.uniqueid);
                        ga('send', 'pageview');

                </script>";

      $html .= str_replace(array("\t", "\n"), '', $ga);
}

why is it needed?

Google analytics are enabled by default on distro install. There is a dashboard notification to this effect and can be enabled/disabled in Advanced Settings.

Thanks for the quick response.
I’m wondering, why collect this particular data. They are useless to improve the operation of FreePBX.

Just because you’re paranoid doesn’t mean they aren’t after you… :wink:
If you use the www, you are spied on…mostly by big US companies. So dont worry about Google Analytics :roll_eyes:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.