This page provides instructions on how to enable SearchStax analytics and troubleshoot common issues based on implementation experiences with Drupal search views.
To set up SearchStax analytics, ensure that the configuration includes the following core components:
Analytics code: Add the SearchStax analytics code to the required environments.
Key validation: Verify that the configuration uses the correct analytics keys.
Shield or HTTP authentication: Deactivate Shield or HTTP authentication to prevent blocked data transmission.
If analytics data does not appear in the SearchStax dashboard, evaluate the following potential blockers:
To check technical indicators while the dashboard updates, follow these steps:
Check the Network tab in the browser to ensure the page sends tracking signals:
track/ includes the following values:204xhrstudio-analytics.jsCheck the drupal-settings-json script tag on the page to indicate that data will reach the dashboard:
Locate the drupal-settings-json script tag.
<script type="application/json" data-drupal-selector="drupal-settings-json">
{
"path": { … },
"pluralDelimiter": "\u0003",
"suppressDeprecationErrors": true,
"dataLayer": { … }
},
"mytheme": {
"script_path": "\/themes\/custom\/mytheme\/build\/scripts\/"
},
"searchstax": {
…
"analyticsUrl": "https:\/\/analytics-region.searchstax.com",
"analyticsKey": "[SEARCHSTAX_ANALYTICS_KEY]",
…
},
"user": { … }
}
</script>analyticsUrl and analyticsKey match the values in SearchStax.If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.