How to immediately check if the Google Analytics content group is working or not.

I created the Google Analytics content group in the analytics admin panel using the tracking code method.

  • I created my first group called "Product Details Pages" inside the "Content Grouping Options" index of 1.
  • I created a second group called "Category Pages" inside the "Content Grouping Options" whose index is 2.

I have twice confirmed that both are included. Then in the code from the product detail pages I added

    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'MY_GOOGLE_ANALYTICS_CODE']);
        _gaq.push(['_setPageGroup', '1', 'Product Detail Pages']);            
        _gaq.push (['_gat._anonymizeIp']);
        _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>

. Google Analytics ( Google Analytics, "" → "" → " " → " " ( )) ( ( )), .

? , ?

+4
1

? , , .

, , , Google Analytics (Chrome) HTTPFox (Firefox) .

, .

+1

Source: https://habr.com/ru/post/1541390/


All Articles