What is this script

HI, I just want to ask about this script ,is this generated in javascript Obfuscator ?,one more thing what is the purpose of this script ?


 <script type="text/javascript">
                        var _gaq = _gaq || [];
                        _gaq.push(['_setAccount', 'UA-28871117-1']);
                        _gaq.push(['_setDomainName', 'wrapbootstrap.com']);
                        _gaq.push(['_trackPageview']);
                        (function() {
                                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
                        })();
                </script>

Thank you in advance

1 Like

There are a few big hints

                    _gaq.push(['_[b]trackPageview[/b]']);
                     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '[b].google-analytics.com[/b]/ga.js';

This is code to load the Google Analytics ‘widget’ on the page. It uses Javascript to embed ('document.createElement) an HTML element on the page that is in contact with the Google server script (ga.js).

1 Like

what is the purpose of google analytics?

1 Like

Is the code on one of your sites; if it is you can login and see the output.

This is the Google analytics website.

1 Like