Title: userToken
Last modified: June 7, 2021

---

# userToken

 *  Resolved [Tracy Rotton](https://wordpress.org/support/users/taupecat/)
 * (@taupecat)
 * [5 years ago](https://wordpress.org/support/topic/usertoken/)
 * I have a client using Algolia search who is getting _tons_ of spam queries. Their
   Algolia dashboard recommends that they pass a userToken with their queries, and
   I’m hopeful that this will help alleviate the problem.
 * Algolia’s documentation, however, is somewhat thin on this topic, and as the 
   plugin isn’t “official”, I’m not sure the best way to set it up. Is this something
   that can be added to the plugin?
 * Here is Algolia’s documentation on adding a userToken: [https://www.algolia.com/doc/guides/getting-insights-and-analytics/search-analytics/out-of-the-box-analytics/how-to/specify-which-user-is-doing-the-search/](https://www.algolia.com/doc/guides/getting-insights-and-analytics/search-analytics/out-of-the-box-analytics/how-to/specify-which-user-is-doing-the-search/)
 * For the record, we are using this plugin with the “instantsearch.js” option.
    -  This topic was modified 5 years ago by [Tracy Rotton](https://wordpress.org/support/users/taupecat/).

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [5 years ago](https://wordpress.org/support/topic/usertoken/#post-14529533)
 * Hi Tracy,
 * Not seeing anything about userTokens mentioned on the GitHub repo we maintain
   for this, so I’m suspecting its either a new detail, or at least not yet actively
   considered.
 * [https://github.com/WebDevStudios/wp-search-with-algolia](https://github.com/WebDevStudios/wp-search-with-algolia)
 * We can definitely get an enhancement issue opened for consideration.

Viewing 1 replies (of 1 total)

The topic ‘userToken’ is closed to new replies.

 * ![](https://ps.w.org/wp-search-with-algolia/assets/icon-256x256.png?rev=2894668)
 * [WP Search with Algolia](https://wordpress.org/plugins/wp-search-with-algolia/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-search-with-algolia/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-search-with-algolia/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-search-with-algolia/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-search-with-algolia/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-search-with-algolia/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/usertoken/#post-14529533)
 * Status: resolved