Google Analytics - Multiple Trackers for Several Accounts?

后端 未结 5 1510
刺人心
刺人心 2021-02-02 13:02

Maybe I\'m going about this wrong, but I\'m hoping I can get some insight. I develop for multiple clients nationwide. I track many of my sites using my personal/development An

5条回答
  •  一向
    一向 (楼主)
    2021-02-02 13:31

    From the asynchronous api documentation

    Pushing commands to multiple trackers also works.

    _gaq.push( ['_setAccount', 'UA-XXXXX-1'],
               ['_trackPageview'],
               ['b._setAccount', 'UA-XXXXX-2'],
               ['b._trackPageview']);
    

提交回复
热议问题