diff --git a/src/analytics-manager.js b/src/analytics-manager.js index 06b4642..11e4ee2 100644 --- a/src/analytics-manager.js +++ b/src/analytics-manager.js @@ -112,7 +112,7 @@ var AnalyticsManager = { var searchQuery = this.getParameterByName(this._settings.searchQueryParam); // Does a search query exist in the path? if (searchQuery.length) { - pathInfo = '/search?' + this._settings.searchQueryParam + '=' + searchQuery; + pathInfo = path + '?' + this._settings.searchQueryParam + '=' + searchQuery; } else { pathInfo = path; }