Tagging REST API: TrackQuery
Overview
Endpoint used to register queries launched by the users.
Endpoint Name
query
Service URL
URL_TAGGING/INSTANCE_ID/query?INPUT_PARAMETERS
Input parameters
Parameter | Description | Data Type | Mandatory |
---|---|---|---|
q | Search terms to track | String | Yes |
totalHits | Number of total results for these search terms | Integer | Yes |
referrer | SERP referrer url | String | Yes |
scope | Tracking scope for this query | String | Yes |
lang | Tracking language for this query | String | Yes |
store | Tracking store for this query | String | Yes |
user | User id who launched the search | String | No* |
session | Current user's session id | String | No* |
page | Page number the user has requested | Short | Yes |
origin | Type of search performed, these are the possible values:
| String | No |
boosted | Boost descriptor (use "default" for manual boosts) | String | No** |
boostId | Manual boost Id, required for default boosts | String | No** |
jsonCallback | Name of the callback that will be executed after the request | Short | No |
*This parameters are not mandatory for the service but necessary for the statistics ** If boosted value is "default" a boostId is required Additional to these parameters, when the setup begins you will be notified about additional parameters you must include in this request. This parameters should be lang, store or portal with different values. |
Output
This method returns nothing or the wrapper used as jsonCallback.
Related articles
-
EmpathyBroker Tagging REST API (Empathy Knowledge Base)
-
Tagging REST API: TrackQuery (Empathy Knowledge Base)
-
Tagging REST API: TrackClick (Empathy Knowledge Base)
-
Tagging REST API: TrackConversion [DEPRECATED] (Empathy Knowledge Base)
-
Tagging REST API: TrackAdd2cart (Empathy Knowledge Base)
-
Tagging REST API: TrackWishlist (Empathy Knowledge Base)
-
Tagging REST API: TrackAPICall (Empathy Knowledge Base)
-
Tagging REST API: TrackBrowseCategory (Empathy Knowledge Base)
-
Tagging REST API: TrackBrowseProduct (Empathy Knowledge Base)
-
Tagging REST API: TrackBrowseAdd2Cart (Empathy Knowledge Base)
-
Tagging REST API: TrackCheckout (Empathy Knowledge Base)
-
Tagging REST API: TrackBrowseCheckout (Empathy Knowledge Base)