Uncaught ReferenceError: ga is not defined

后端 未结 5 2013
野趣味
野趣味 2021-02-18 15:24

I want know how many times people clicked on a particular button (should be very simple with Google analytics). However, I had an \"Uncaught ReferenceError: ga is not defined\"

5条回答
  •  执念已碎
    2021-02-18 15:56

    Open a new incognito window. If you are logged in then the analytics code won't be ran. Also instead of "ga" you need to use "__gaTracker" for some reason Monster Insights doesn't use "ga" they change it to "__gaTracker".

提交回复
热议问题