Google Analytics: How to track pages in a single page application?

前端 未结 7 2263
鱼传尺愫
鱼传尺愫 2021-01-31 08:44

Currently in my website, I used HTML5\'s pushState() and popState in links to increase the speed. However, this doesn\'t really change the real URL and it

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-31 09:31

    2020 Update

    If you are using Google Analytics 4 you don't need to push the event anymore IF you enabled the Page views option in the Enhanced measurement feature in Data Streams menu.

提交回复
热议问题