Internal search with multiple sets of results
Hi everyone.
How do I measure and report this efficiently?
My client has developed a search engine that multiple sets of results, i.e. "Places" and "Websites". (I'll just call them result groups.)
So a search for "doctor" could return:
- Websites: 32 results
- Places: 4 results.
Each result, regardless of group, has a title and a topic. "Places" also have a region.
She wants to know:
- For any given search term, how many results do people get—both in total and in each group?
- Which results do people click on?
So far, it's no problem to just create group-specific eVars, e.g.:
- Search Term
- Number of Website Results
- Number of Place Results
- Website Name
- Website Topic
- Place Name
- Place Topic
- Place Location
In this case, event "Search" would be reported using eVar1–3. Event "Result Click" would be reported using either eVar4–5 or eVar6–8,
But my client may want to expand the search engine with more groups, such as "Videos" or "Products", so I'd like to avoid filling up Analytics with very similar eVars.
So another solution could be using eVars like:
- Search Term
- Result Group
- Number of Results
- Result Name
- Result Topic
- Result Region
In this case, "Search" would be reported using eVar1–3. Event "Result Click" would be reported using eVar2,4–6.
In this case I'm also nto sure if it's possible to record total number of search results in a single beacon...
What would you do? ![]()