Website Search Keywords tracking

Hi.
On our web site search string is like that
http://domain.com/all-products/browse/keyword/search keyword here

The tracking code is not capturing the search keyword

Please help me how can i edit the tracking code to track website search keywords in this case