...
...
...
...
...
...
...
...
...
...
Overview
Please note that "conversion" is deprecated, "checkout" should be used instead on all new integrations.
Instructions to register clicks on "Add to cart" buttons launched by the users.
Step-by-step guide
Service Name
trackConversion
Service URL
- URL_TAGGING/INSTANCE_ID/conversion?INPUT_PARAMETERS
Input parameters
Parameter | Description | Data Type | Mandatory |
---|---|---|---|
q | Search terms to track | String | |
totalHits | Number of total results for these search terms | Integer | |
page | Page number the user has requested | Short | |
front | Front param in order to measure the performance where it does come from | String | |
referrer | SERP referrer URL | String | |
scope | Tracking scope for this query | String | |
lang | Tracking language for this query | String | |
store | Tracking store for this query | String | |
catalog | TODO | String | |
user | ID of the user who launched the search | String | [*] |
session | Current user's session ID | String | [*] |
boosted | Boost descriptor (use "default" for manual boosts) | String | [**] |
boostId | Manual boost Id, required for default boosts. | String | [**] |
origin | TODO | String | |
user_type | Specifies is the user who made the request is either new, recurrent, or ignored | String | |
spellcheck | Checks whether the query has come via spellcheck or not | Boolean | |
filtered | Checks whether the query has been filtered or not | Boolean | |
contextualize | TODO | String | |
jsonCallback | Name of the callback that will be executed after the request | Short | |
*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. |
Examples * OUTDATED - Broken links, update with working examples.
NOTE: The following code is just an example, do not copy and paste this for your use
Output
This method returns nothing or the wrapper used as jsonCallback.
Related articles
Filter by label (Content by label) | ||||
---|---|---|---|---|
|