Tracking same domains but different environments in Google Analytics

前端 未结 1 865
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-15 15:41

So, say I want to track traffic to different environments, but in the same domain

https://portal.mywebsite.net/

and separately track traffic to

https://p

1条回答
  •  别跟我提以往
    2021-02-15 16:23

    Create two new views one for portal and one for production:

    1. Start with applying a filter to your portal view. Go to View > Filters > Create New Filter
    2. Select Include only & traffic to the hostname, and drop in portal.mywebsite.net.

    enter image description here

    Rinse and repeat for production.

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