If you added the search-insights library to your HTML file, ensure that the snippet is loaded in the <head> of your HTML file, otherwise you will see a double query request.
The first query will send the search without a userToken, and the second request will contain the userToken.