So I have an app written in Go on App Engine where I have items in Datastore and provide search through the Search API. Users can view the items and doing so feeds view events with country information to Google Analytics.
I would like to understand how to use that information to e.g. return Top Viewed Items by Country?
I have researched this topic quite a bit, but have not found a good approach yet. There is a rank in Search, but that value will be different for each country so I cannot use that.
I can see that having different indexes (one per country) and using that rank field or a rank field per country would provide what I want. What if the items are hundreds of thousands or more? What if I would like to offer trending that might need to be updated often across the whole dataset and not just a counter? Is this the best approach?
Maybe this is a limitation of what I currently can do on App Engine?
How would one approach this generally and maybe with another Search like Elastic Search?
Thanks in advance!
Try this report:
Google Analytics > Reporting > Behavior > Site Content > All Pages