Shopping basket and purchase information

The additional data for shopping basket and purchase information is identical. If multiple different products are to be passed, this can be done with a single or multiple requests. We recommend minimizing the amount of requests and sending multiple events with a single call. 

It's not necessary to know if this action is caused by a search or not, this will be checked later in the analysis. As this tracking event does not contain any FACT-Finder specific data it can on principle be sent from shop code and does not need javascript.

Parameter 

Description

count

essentialQuantity of product purchased. The figure is an integer.
priceoptional

Product price; in each instance, the unit price should be provided, even if a customer has purchased several units of the same product and/or placed them into the shopping cart. If you offer support for multiple currencies, the tracking information passed for a given channel must always be in the same currency. Otherwise, statistical reports will be incorrect.

It's recommended to send this parameter, as it adds more value to the search analysis.

campaign

optionalA product contains the field _FFCampaign_, if it reached the search result via a campaign. This field has the campaign ID as its value. When interacting with this product you have to send this ID with the campaign parameter. This way it is possible to measure the influence of the campaign manager module.
When sending multiple products in the same checkout event, please make sure to include the sid value for each product.

Example

$stringEscapeUtils.escapeHtml($body)
$stringEscapeUtils.escapeHtml($body)