adobe / xdm

Experience Data Model
Creative Commons Attribution 4.0 International
245 stars 319 forks source link

Search: How to treat language variants of search engines #99

Open trieloff opened 6 years ago

trieloff commented 6 years ago

Right now, we only have "Google" as the search engine. Is this google.com? images.google.com? google.de?

cdegroot-adobe commented 6 years ago

The way the reporting for search engines work does have breakdown by country and a primary. So there are Google and then each country that has a google domain for search e.g Google - Germany

trieloff commented 6 years ago

Then we should update the xdm:searchEngine field accordingly. Right now, it's just a plain string, without any guidance.

https://github.com/adobe/xdm/blob/master/docs/reference/context/search.schema.md#xdmsearchengine

I think we should make it a hostname, using the hostname of the search engine as the key, together with a meta:enum that has the English language name, so that we would have google.de and Google – Germany pair.

@cdegroot-adobe can we get a list of known search engines?

cdegroot-adobe commented 6 years ago

@trieloff - sorry for the delay in responding. I do not think we can have a meta:enum. The number of locale specific search engines it large and evolving, it is treated as dimensional data for the most part. I can agree that we should improve the usage guidance.