---
title: "Enabling the SearchStax module and routing searches through it"
date: "2025-02-12T11:28:32+00:00"
summary: "Enable SearchStax module, route searches, and configure settings for improved Drupal site search functionality."
image:
type: "page"
url: "/acquia-cloud-platform/enabling-searchstax-module-and-routing-searches-through-it"
id: "6c47b43b-7579-4072-9738-b7b06f56ba00"
---

Note

*   If you are subscribed to a paid plan, such as **Premier** or **Premier Plus**, proceed to Step 1.
*   If you are using a basic plan, such as **Standard**, **Plus**, **Premium**, or **Elite**, proceed to Step 5.

1.  Click **Settings** in your SearchStax Site Search app, then select **Analytics API**.
    
    Record the **Analytics Tracking URL** and **Analytics Tracking Key**.
    
2.  Go to the administration menu on your Drupal application.
3.  Click **Configuration**, then **Search and Metadata**, followed by **SearchStax Settings**.
4.  Enter the values for the **Analytics URL** field and the **Global analytics key** field (also referred to as the Analytics Tracking Key) that you recorded earlier.
    
    ![SearchStax analytics configuration settings showing options for selecting the JavaScript library version, entering an analytics URL, and specifying a global analytics key.](https://acquia.widen.net/content/e677ebd3-28fb-476a-9145-98cd7fdf13a5/web/search_searchstax-configuring.png?w=1090&itok=Y4DpwYRK)
    
5.  Select **Re-route searches through SearchStudio**.
6.  In most cases, do not select **Configure searches via SearchStudio**.
    
    ![Checkboxes 1](https://acquia.widen.net/content/2465c520-bdf5-49b5-b41b-68262dd31327/web/srsx_configure-searches.png?w=962&itok=gH-7wuMH)
    
7.  To expose additional options, select ****Configure searches via SearchStudio****. If the migration goal is to switch the backend from Acquia Search to SearchStax, these options should remain deselected:
    
    *   Parse mode and searched fields
    *   Highlighting settings
    *   Sorts
    *   Facets
    
    For example, you can select the options listed above to use a [SearchStax UI Kit](https://support.searchstax.com/hc/en-us/articles/40395876668685-UI-Kits).
    
8.  Spellcheck requires configuration in the SearchStax app. To enable spellcheck select **Re-route searches through SearchStudio**, ****Configure searches via SearchStudio****, and **Spellcheck settings**.

Next step
---------

[Validate the search page](/acquia-cloud-platform/validating-search-page "Validating the search page")