Track localhost on Analytics in Google Tag Manager

前端 未结 1 1758
慢半拍i
慢半拍i 2021-01-02 06:59

I have a problem with tracking Google Analytics on localhost with Google Tag Manager. I can see on the API for Analytics ( https://developers.google.com/analytics/devguides/

1条回答
  •  走了就别回头了
    2021-01-02 07:56

    The documentation referenced it is about the Universal Analytics (new GA API version).

    To solve this problem, you have two options:

    1) Using the traditional tag "Google Analytics", in 'More settings' > 'Domains and Directories' > 'Domain Name':

    none
    

    2) Or switch to the "Universal Analytics" tag in Tag Google Manager, configure the required fields and in 'More settings' > 'Cookie Configuration' > 'Cookie Domain':

    none
    

    In both cases, this option should be turned off before the launch of the site.

    0 讨论(0)
提交回复
热议问题