Missing “q” in Search/Suggest
Problem and Background
When a user types a query in the search box and hits submit, the Search event pixel should fire. When a user clicks on an autosuggest in the search box, the Suggest event pixel should fire.
Search and Suggest pixels have a required q field containing the actual query that is sent to the backend as the search query for which Bloomreach retrieves results. If a value is not set, it is an error.
Debugging Steps
- Reach out to Bloomreach Support for a list of raw URLs where value is not set.
- Each example lists a raw URL from which Search/Suggest pixels are generated.
- Go to a sample URL. It is usually a product URL.
- Start typing a query into the search box and then hit submit or click on an autosuggest. Try each one separately if needed. Search/Suggest event is generated.
- Verify the Search/Suggest event to check if q is empty.
- BloomreachPixel Checker Chrome extension also flags this pixel issue since q is a required field for Search/Suggest pixel.
Common Cause
Pixel implementation is not populating the q field of the Search/Suggest event.
Solution
Once you have debugged the issue, reproduce the issue and using the Simple Pixel tool, fix the pixel implementation. Reach out to the Bloomreach Support team if you have any questions and are not able to solve the issue.
Please provide your feedback below. We would like to know if our help center is effective in solving minor issues you face with our products.
You can also leave comments and suggestions after you vote on how we can make our help articles better and any topics you’d like us to cover.
Did this article help you?
Please provide your feedback. We would like to know if our help center is effective in solving your queries. You can also leave comments and suggestions on how we can make our help articles better. You can also suggest topics you’d like us to cover.
Updated 6 months ago