With a site I manage, site search and site search category queries aren't present, but I was hoping to manipulate the page path URIs to form GA-readable URIs in Google Tag Manager.
Example #1
/search-all/search_one
Where 'search-all' is the site search category and 'search_one' is the site search keyword. Output required would be:
/site-search?search_cat=all&search_term=search_one
Example #2
/search-category1/search_two
Where 'search-category1' is the site site category and 'search_two' is the site search keyword. Output required would be:
/site-search?search_cat=category1&search_term=search_two
Can anyone help?