[null,null,["最后更新时间 (UTC):2024-11-09。"],[[["\u003cp\u003eBy default, Google Analytics automatically sends a \u003ccode\u003epage_view\u003c/code\u003e event whenever a page loads or the browser history changes.\u003c/p\u003e\n"],["\u003cp\u003eFor single-page applications or websites with infinite scrolling, you might need to manually control how \u003ccode\u003epage_view\u003c/code\u003e events are sent to avoid duplicates or inaccurate data.\u003c/p\u003e\n"],["\u003cp\u003eTo manually send \u003ccode\u003epage_view\u003c/code\u003e events, first disable the default pageview measurement, and then use the \u003ccode\u003epage_view\u003c/code\u003e event with relevant parameters like \u003ccode\u003epage_title\u003c/code\u003e and \u003ccode\u003epage_location\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epage_view\u003c/code\u003e event includes parameters like \u003ccode\u003epage_title\u003c/code\u003e and \u003ccode\u003epage_location\u003c/code\u003e, which by default are populated with the document title and URL, respectively.\u003c/p\u003e\n"]]],["The `page_view` event is automatically sent to Google Analytics when a webpage loads or its browser history state changes. This default behavior can be disabled for manual control, especially useful for single-page applications or infinite scrolling. When disabling the default `page_view`, you are responsible for manually sending them. Default `page_view` data include `page_title` and `page_location` which are set automatically. When sending manual pageviews, be sure to disable default behavior to avoid duplicate entries.\n"],null,[]]