1

ページに他の 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....

4

1 に答える 1

1

あなたのコードは私にとってはうまくいきます。ダッシュボードでリアルタイムのものを参照していると思いますか?あなたが通過している寸法を含めて、そこにうまく表示されている場合は、すべて問題ありません。

GA Universal の処理はかなり遅いので、数日待ってください。

于 2013-04-22T14:13:06.000 に答える