addSearch
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.