Google Analytics 和测量目标页面的搜索词
一直使用 Google Analytics 进行内部站点搜索,虽然我喜欢看到用户正在搜索什么的能力,但我很难弄清楚哪些搜索词会指向哪些页面。
当我在当前路径的搜索结果页面上进行筛选时同时搜索 nextPagePath
和 searchKeyword
维度时,nextPagePath
始终是搜索结果即使我知道不应该这样(当跟踪我自己的模糊搜索时)。使用 searchDestinationPage
维度也是如此。我无法获得任何显示从搜索结果页面跳转到网站上另一个页面的数据。
这是我的 api 查询的清理示例。
dimensions=ga:searchKeyword,ga:nextPagePath&metrics=ga:pageviews&filters=ga:previousPagePath=@dosearch
当我使用标准 Analytics UI 并查看“内容”->“目标页面”列表时,站点搜索 -> 目标页面,我只有 25 个左右,所有这些都只是基本搜索结果页面 URL 的变体。
我的搜索结果页面上是否需要额外的跟踪代码?自定义变量?通过 API 进行不同的查询?
我可以看到从搜索结果和从结果中选择的页面发出的跟踪请求。
我在 Analytics 论坛中发现了几个提出同样问题的问题,但没有一个提供任何类似于可行的解决方案。
Been using internal site search with Google Analytics and while I love the ability to see what my users are searching for, I am having a really hard time figuring out what search terms lead to which pages.
When I search on both the nextPagePath
and searchKeyword
dimensions while filtering on the search results page at the current path, the nextPagePath
is always the search results page even when I know it shouldn't be (when tracking my own obscure searches). The same goes for using the searchDestinationPage
dimension. I can't get any data that shows a jump from a search results page to another page on the site.
Here's a cleaned up example of my api query.
dimensions=ga:searchKeyword,ga:nextPagePath&metrics=ga:pageviews&filters=ga:previousPagePath=@dosearch
When I use the standard Analytics UI and look at the Destination Pages list under Content->Site Search->Destination pages, I only have 25 or so, all of which are just the variations on the base search-result page URL.
Do I need additional tracking code on my search results pages? Custom variables? A different query through the API?
I can see the tracking requests going out from both the search results and the pages selected from the results.
I found a couple of questions in the Analytics forums that ask this same question, but none of them had anything resembling a working solution.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我敢打赌您没有在 API 中使用正确的尺寸,
请参阅 https:// /developers.google.com/analytics/devguides/reporting/core/dimsmets/internalsearch
ga:searchDestinationPage 可能是您在使用 ga:nextPagePath 时想要的
I would bet you are not using the proper dimensions in the API
See https://developers.google.com/analytics/devguides/reporting/core/dimsmets/internalsearch
ga:searchDestinationPage is probably what you wanted when using ga:nextPagePath