New to Google Tag Manager. Before we upgraded to Universal code, we have site search activated and working. We used the _ga.push to send search parameters to Google Analytic.
This works perfectly fine and our search query will look like this: http://http://stackoverflow.com/searchresult?q=[Keyword]=mainsearch.
Now that we have moved to Tag Manager, The site search is not showing in Google Analytic. I have no idea if this should automatically be picked up after we make the setting in Google Analytic or we will have to create a rule or tag to track the search query (?q).
Thanks in advance.
As per your comment, your location field in GTM only contains only page path and the fragment identifier. GA picks the parameter with the search query from the location field. If you do not include it there then GA will not be able to track the search. So you'd need to add the query parameter for site search to your location field.