Tracking

Operations for tracking

Track a cart event

post

Required Roles: ApiPublicQueries

Authorizations
Path parameters
channelstringRequired

The channel

Bodyobject[]
campaignstringOptional

If the product was added to search result by a campaign, this field should contain the campaign ID.

countinteger · int32Required

The number of items.

idstringRequired

The ID of the product.

masterIdstringOptional

Contains the master ID, if the article is a variant and 'ID' refers to the variant.

pricenumber · doubleOptional

The single-item price of the product.

purchaserIdstringOptional

The ID for Customer-Specific Info.

sidstringRequired

The session ID.

titlestringOptional

The title of the product.

userIdstringOptional

The ID of the user who issued the request.

Responses
200

OK

post
POST /fact-finder//rest/v5/track/{channel}/cart HTTP/1.1
Host: ng-demo.fact-finder.de
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 136

[
  {
    "campaign": "text",
    "count": 1,
    "id": "text",
    "masterId": "text",
    "price": 1,
    "purchaserId": "text",
    "sid": "text",
    "title": "text",
    "userId": "text"
  }
]

No content

Track a checkout event

post

Required Roles: ApiPublicQueries

Authorizations
Path parameters
channelstringRequired

The channel

Bodyobject[]
campaignstringOptional

If the product was added to search result by a campaign, this field should contain the campaign ID.

countinteger · int32Required

The number of items.

idstringRequired

The ID of the product.

masterIdstringOptional

Contains the master ID, if the article is a variant and 'ID' refers to the variant.

pricenumber · doubleOptional

The single-item price of the product.

purchaserIdstringOptional

The ID for Customer-Specific Info.

sidstringRequired

The session ID.

titlestringOptional

The title of the product.

userIdstringOptional

The ID of the user who issued the request.

Responses
200

OK

post
POST /fact-finder//rest/v5/track/{channel}/checkout HTTP/1.1
Host: ng-demo.fact-finder.de
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 136

[
  {
    "campaign": "text",
    "count": 1,
    "id": "text",
    "masterId": "text",
    "price": 1,
    "purchaserId": "text",
    "sid": "text",
    "title": "text",
    "userId": "text"
  }
]

No content

Track a click event

post

Required Roles: ApiPublicQueries

Authorizations
Path parameters
channelstringRequired

The channel

Bodyobject[]
campaignstringOptional

If the product was added to search results by a campaign, this field should contain the campaign ID.

idstringRequired

The ID of the product.

masterIdstringOptional

Contains the master ID, if the article is a variant and 'ID' refers to the variant.

pageinteger · int32Optional

The page number of the search result that contains the product.

pageSizeinteger · int32Optional

The current page size (possibly adjusted by the user) when the product was clicked.

posinteger · int32 · min: 1Required

The overall position of the product inside the search result.

purchaserIdstringOptional

The ID for Customer-Specific Info.

querystringRequired

The search term that the user searched for.

scorenumber · doubleOptional

The score of the product.

sidstringRequired

The session ID.

titlestringOptional

The title of the product.

userIdstringOptional

The ID of the user who issued the request.

Responses
200

OK

post
POST /fact-finder//rest/v5/track/{channel}/click HTTP/1.1
Host: ng-demo.fact-finder.de
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 171

[
  {
    "campaign": "text",
    "id": "text",
    "masterId": "text",
    "page": 1,
    "pageSize": 1,
    "pos": 1,
    "purchaserId": "text",
    "query": "text",
    "score": 1,
    "sid": "text",
    "title": "text",
    "userId": "text"
  }
]

No content

Track a feedback event

post

Required Roles: ApiPublicQueries

Authorizations
Path parameters
channelstringRequired

The channel

Bodyobject[]
messagestringOptional

Additional information provided by the user.

positivebooleanRequired

Set to true when the user gives a positive assessment of the result, otherwise false.

querystringRequired

The search term that produced the corresponding search result.

sidstringRequired

The session ID.

Responses
200

OK

post
POST /fact-finder//rest/v5/track/{channel}/feedback HTTP/1.1
Host: ng-demo.fact-finder.de
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 64

[
  {
    "message": "text",
    "positive": true,
    "query": "text",
    "sid": "text"
  }
]

No content

Track a click event for products provided by a campaign on a landing page.

post

Required Roles: ApiPublicQueries

Authorizations
Path parameters
channelstringRequired

The channel

Bodyobject[]
campaignstringRequired

The ID of the campaign, which added the product to the landing page.

idstringRequired

The ID of the product.

masterIdstringOptional

Contains the master ID, if the article is a variant and 'ID' refers to the variant.

pageIdstringRequired

The ID of the landing page.

purchaserIdstringOptional

The ID for Customer-Specific Info.

sidstringRequired

The session ID.

titlestringOptional

The title of the product.

userIdstringOptional

The ID of the user who issued the request.

Responses
200

OK

post
POST /fact-finder//rest/v5/track/{channel}/landingPageClick HTTP/1.1
Host: ng-demo.fact-finder.de
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 132

[
  {
    "campaign": "text",
    "id": "text",
    "masterId": "text",
    "pageId": "text",
    "purchaserId": "text",
    "sid": "text",
    "title": "text",
    "userId": "text"
  }
]

No content

Track a log event

post

Required Roles: ApiPublicQueries

Authorizations
Path parameters
channelstringRequired

The channel

Bodyobject[]
additionalInfostringOptional

Additional information that should be logged.

customSortingbooleanOptional

Set to true, if the search result was sorted using a custom sorting order, otherwise false.

hitCountinteger · int32Required

The total number of products in the search result.

idstringRequired

The ID of the product.

masterIdstringOptional

Contains the master ID, if the article is a variant and 'ID' refers to the variant.

maxScoreinteger · int32Required

The score of the first product in the result.

minScoreinteger · int32Required

The score of the last product in the result.

pageinteger · int32Required

The page number delivered by the search result.

pageSizeinteger · int32Required

The maximum number of products on a page.

purchaserIdstringOptional

The ID for Customer-Specific Info.

querystringRequired

The search term that produced the search result.

searchFieldstringOptional

Contains the name of the search field, if the search was performed on a specific field.

searchTimeinteger · int32Required

The time required to produce the results (in ms).

sidstringRequired

The session ID.

titlestringOptional

The title of the product.

userIdstringOptional

The ID of the user who issued the request.

Responses
200

OK

post
POST /fact-finder//rest/v5/track/{channel}/log HTTP/1.1
Host: ng-demo.fact-finder.de
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 392

[
  {
    "additionalInfo": "text",
    "customSorting": true,
    "filters": [
      {
        "filterWarning": "NON_EXISTING_FIELD",
        "name": "text",
        "substring": true,
        "values": [
          {
            "exclude": true,
            "type": "or",
            "value": "text"
          }
        ]
      }
    ],
    "hitCount": 1,
    "id": "text",
    "masterId": "text",
    "maxScore": 1,
    "minScore": 1,
    "page": 1,
    "pageSize": 1,
    "purchaserId": "text",
    "query": "text",
    "searchField": "text",
    "searchTime": 1,
    "sid": "text",
    "title": "text",
    "userId": "text"
  }
]

No content

Track a login event

post

Required Roles: ApiPublicQueries

Authorizations
Path parameters
channelstringRequired

The channel

Bodyobject[]
purchaserIdstringOptional

The ID for Customer-Specific Info.

sidstringRequired

Session ID.

userIdstringRequired

The ID of the user currently logged in.

Responses
200

OK

post
POST /fact-finder//rest/v5/track/{channel}/login HTTP/1.1
Host: ng-demo.fact-finder.de
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 53

[
  {
    "purchaserId": "text",
    "sid": "text",
    "userId": "text"
  }
]

No content

Track a predictive basket click event

post

Required Roles: ApiPublicQueries

Authorizations
Path parameters
channelstringRequired

The channel

Bodyobject[]
idstringRequired

The ID of the product.

masterIdstringOptional

Contains the master ID, if the article is a variant and 'ID' refers to the variant.

purchaserIdstringOptional

The ID for Customer-Specific Info.

sidstringRequired

The session ID.

titlestringOptional

The title of the product.

userIdstringRequired

The user ID of the user clicking the suggested product.

Responses
200

OK

post
POST /fact-finder//rest/v5/track/{channel}/predbasketClick HTTP/1.1
Host: ng-demo.fact-finder.de
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 98

[
  {
    "id": "text",
    "masterId": "text",
    "purchaserId": "text",
    "sid": "text",
    "title": "text",
    "userId": "text"
  }
]

No content

Track a recommendation click event

post

Required Roles: ApiPublicQueries

Authorizations
Path parameters
channelstringRequired

The channel

Bodyobject[]
idstringRequired

The ID of the product.

mainIdstringRequired

The product ID for which the clicked product was recommended.

masterIdstringOptional

Contains the master ID, if the article is a variant and 'ID' refers to the variant.

purchaserIdstringOptional

The ID for Customer-Specific Info.

sidstringRequired

The session ID.

titlestringOptional

The title of the product.

userIdstringOptional

The ID of the user who issued the request.

Responses
200

OK

post
POST /fact-finder//rest/v5/track/{channel}/recommendationClick HTTP/1.1
Host: ng-demo.fact-finder.de
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 114

[
  {
    "id": "text",
    "mainId": "text",
    "masterId": "text",
    "purchaserId": "text",
    "sid": "text",
    "title": "text",
    "userId": "text"
  }
]

No content

Was this helpful?