Searchspring tracks user search behavior to power IntelliSuggest product elevations. IntelliSuggest Tracking scripts should use the same user identifier as Search API requests, which is stored in the "_isuid" cookie on the user's browser. If this cookie does not exist, it can be safely created with any value and will then be shared across both the Search API and IntelliSuggest Tracking.
|Description||Used for tracking customer behavior for IntelliSuggest product elevations. For a non-logged in user this can be a randomly generated ID stored in a cookie.|
|Description||The URI of the current page. This must be passed in order for the Category Insights report to fully function.|
HTTP Request Headers
If you are using the Search API from your server, you will need to pass your customer's IP address and User Agent to Searchspring as part of your request headers.
curl_setopt($ch, CURLOPT_HTTPHEADER, array("REMOTE_ADDR: $ip", "HTTP_X_FORWARDED_FOR: $ip")); curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);