Uncaught ReferenceError: _gaq is not defined (Google Analytics)

后端 未结 5 1317
名媛妹妹
名媛妹妹 2021-02-03 20:22

The following message appears when viewing a site page in the chrome debug log.

Uncaught ReferenceError: _gaq is not defined

The pag

5条回答
  •  花落未央
    2021-02-03 21:14

    From https://developers.google.com/analytics/devguides/collection/gajs/ this code replaces your existing "traditional snippet" with the "latest, asynchronous version, you should remove the existing tracking snippet first."

    
    

    To see your events come in (to know if this is working) look for "Events" under the "Real-Time" menu option on the left side of the "Reporting" page.

提交回复
热议问题