Google Analytics: How to merge canonical URLs for historical data

女生的网名这么多〃 提交于 2019-12-11 09:27:23

问题


I have a single-page online app which relies on query strings. Google Analytics tracking was added, however canonical meta wasn't added until a few days later, so now Analytics is showing several entries for the same page because of a difference in the query string, e.g. "/app/?s=4324,543,12421" and "/app/?s=5234,86754" whereas the canonical is just "/app/".

Is there a way to merge data for the extra pages (in Reporting > Behavior > Overview) in GA which have since been canonicalised?


回答1:


To my best knowledge there is no way to change historical data (except for a hackish solution for transaction data). While I can't recall a single sentence in the documentation that says "we don't reprocess historical data" it is implied at several occiasion (i.e. things like dimension widening are not applied to historical data because it won't be reprocessed).

Cutronis GA book says it directly:

Once Google Analytics has processed the data and stored it in the database, it can never be changed. This means historical data can never be altered or reprocessed. Any mistakes made during setup or configuration can permanently affect the quality of the data.

So alas the answer is no, you cannot do this. You can use filters to get the aggregated values (and store the filtered report as a shortcut) but you cannot change data that is already processed (within the interface - you can always export to Google Spreadsheets and work from there).




回答2:


Rich, what you could do is to export the data out and do the merge by yourself (in Excel or any database engine) using available string functions. See this how-to Excel article that might be helpful.

Exporting data means more work, but as Eike pointed out, there is nothing you can do in GA interface. Hope this helps.



来源:https://stackoverflow.com/questions/22042405/google-analytics-how-to-merge-canonical-urls-for-historical-data

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