Google Analytics : 自定特殊統計 tag sample

https://developers.google.com/analytics/devguides/collection/analyticsjs/events

 

<script>
…….
ga(‘create’, ‘UA-xxxxxxxx-1’, ‘xxxx.com’);
ga(‘send’, ‘pageview’);
ga(‘send’, ‘event’, ‘分類瀏覽數’, ‘xxx’);
ga(‘send’, ‘event’, ‘分類瀏覽數’, ‘yyy’);
ga(‘send’, ‘event’, ‘小計瀏覽數’, ‘zzz’);
</script>