How do you integrate Universal Analytics in to Chrome Extensions?

前端 未结 6 1914
故里飘歌
故里飘歌 2020-11-29 18:36

The chrome extension guide has a tutorial for the old analytics install: https://developer.chrome.com/extensions/tut_analytics.html

The instructions just say to link

6条回答
  •  迷失自我
    2020-11-29 19:26

    I managed to get Google Analytics up and running using Chrome Platform Analytics (CPA). The only confusing part is how to set up a property in the administration console of GA. I had to create a Mobile Application property, which is not too intuitive.

    Also, I created an options page that lets users disable analytics if desired, to comply with the opt-out requirements.

    I hope that helps!

提交回复
热议问题