Custom Search Component not being captured by Analytics
We have created a custom search component for similar reasons: better design, and it is working perfectly.
The problem we now have is that the searches are not being captured by Analytics, so the LSI report on number of searches shows zero.
One of the objectives of the custom component was to make it more user friendly and increase searches and now we don't have a way to measure it.
We were told by Support to include the following query parameter to API call for them to be captured by Analytics:
api.for_ui_search=true
Problem is the change was done yesterday and we still don't see the results of quantity of searches in Analytics.
Any advise you can give us? There is no documentation on this parameter that we can use as a reference so we might be using it incorrectly...or maybe we just need to wait for Analytics a while longer?
Are you using a LiQL query with a MATCHES clause or REST V1 search calls to do your custom search? I believe the api.for_ui_search=true parameter only works for LiQL queries (not for the REST V1 search endpoints). If you are using a LiQL query with a MATCHES clause and you don't start seeing search terms start to show up (from the date you added it forward), I would recommend filing a support case b/c it should start working.
-Doug
That looks correct. I would advise you file a support case at this point if you are not seeing the search terms showing up in LSI.