Google Custom Site Search Not Tracking in Universal Analytics

强颜欢笑 提交于 2020-01-07 07:11:14

问题


We upgraded to Universal Analytics about a year ago and since upgrading our Site Search isn't displaying the keywords within our Analytics account, or even tracking the number of times it is used.

This is a problem as a marketer as I like to know what people are looking for so that I can provide them relevant content.

All I can find on the Google blog is this: https://support.google.com/customsearch/answer/2715510 'At this time, Google Custom Search Engine, is not compatible with Universal Analytics.'

Has anyone got any suggestions as to how I can get this data back? Are there any other custom site searches that I could use instead? Are Google even looking at this?


回答1:


Google CSE is using old _gaq calls for analytics, it can be mimicked by adding following code line at the end of universal GA snippet:

_gaq={push:function(){ga('send','pageview',arguments[0][1]);}}



回答2:


View - View settings - Site search settings is on and correctly tuned?



来源:https://stackoverflow.com/questions/28764097/google-custom-site-search-not-tracking-in-universal-analytics

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!