0

我的客户有一个单页网站,并且希望每次点击网站区域的主菜单都算作 Google Analytics 中的一次综合浏览量。这可能吗?我建议他使用事件。

4

1 回答 1

1

是的,在 JavaScript 中调用 _trackPageview。

_trackPageview()

_trackPageview(opt_pageURL)
Main logic for GATC (Google Analytic Tracker Code). If linker functionalities are enabled, it attempts to extract cookie values from the URL. Otherwise, it tries to extract cookie values from document.cookie. It also updates or creates cookies as necessary, then writes them back to the document object. Gathers all the appropriate metrics to send to the UCFE (Urchin Collector Front-end).

Async Snippet (recommended)

https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiBasicConfiguration#_gat.GA_Tracker_._trackPageview

于 2013-07-17T15:01:19.180 回答