ページに他の js がない場合は window.onload を介して、または jQuery がロードされている場合は $(document).ready() を介して起動するページの読み込み時に発生する分析イベントをセットアップしようとしています。
The analytics loads and works fine and is using analytics.js (not ga.js). When I try to send events back to analytics, I use this command
ga('send', 'event', {'hitType': 'event',
'page': '/checkout/',
'eventCategory': 'Forms',
'eventAction': 'formload',
'eventLabel': 'Loaded checkout form correctly'});
When I look on the analytics dashboard it tells me that 2 of my visits sent events, but then all of the other events stats are 0. So in essence I am getting nothing logged.
Please help....