Method Calls

addSearch

addsearch method for site search // site search window\ monetateq push(\[ "addsearch", { "searchterm" "this is a test", "searchtype" "site" } ]); window\ monetateq push(\[ "trackdata" ]); addsearch method for category search // category search window\ monetateq push(\[ "addsearch", { "searchterm" "kids", "searchtype" "category" } ]); window\ monetateq push(\[ "trackdata" ]); the searched and also purchased premium recommendation algorithm requires you to implement one or two addsearch method calls to send customers' search query data for use with a recommendation strategy configured with this recommendation algorithm one method call is for site search, and the other is for category search implementing both is preferred in addition to implementing these method calls, you must also contact your dedicated customer success manager (csm) to request that the latest script for this recommendation algorithm be pushed to your account so that you can make use of its full capabilities you must also implement the addsearch method to use the on site search terms who behavior target in experiences call the method on all relevant search inputs into which customers provide search terms that you want used for matching with the target's configuration see types of who targets in the monetate knowledge base for more information about this target