src/FACTFinder/Adapter/Tracking.php
public function trackClick(
        $id,
        $query,
        $pos,
        $masterId = null,
        $sid = null,
        $cookieId = null,
        $origPos = -1,
        $page = 1,
        $simi = 100.0,
        $title = '',
        $pageSize = 12,
        $origPageSize = -1,
        $userId = null,
        $campaign = null,
        $instoreAds = false
    ) {
        $this->setupClickTracking($id, $query, $pos, $masterId, $sid, $cookieId, $origPos, $page,
                                  $simi, $title, $pageSize, $origPageSize, $userId, $campaign, $instoreAds);
        return $this->applyTracking();
    }
public function trackClick(
        $id,
        $query,
        $pos,
        $masterId = null,
        $sid = null,
        $cookieId = null,
        $origPos = -1,
        $page = 1,
        $simi = 100.0,
        $title = '',
        $pageSize = 12,
        $origPageSize = -1,
        $userId = null,
        $campaign = null,
        $instoreAds = false
    ) {
        $this->setupClickTracking($id, $query, $pos, $masterId, $sid, $cookieId, $origPos, $page,
                                  $simi, $title, $pageSize, $origPageSize, $userId, $campaign, $instoreAds);
        return $this->applyTracking();
    }
Track a detail click on a product.

@param string $id tracking id of product (see field with the role "Product number for tracking")
@param string $sid session id (if empty, then try to set using the function session_id() )
@param string $query query which led to the product
@param int $pos position of product in the search result
@param string $masterId master id of the product (see field with the role "Master article number")
@param string $cookieId cookie id (optional)
@param int $origPos original position of product in the search result. this data is delivered by FACT-Finder (optional - is set equals to $position by default)
@param int $page page number where the product was clicked (optional - is 1 by default)
@param float $simi similiarity of the product (optional - is 100.00 by default)
@param string $title title of product (optional - is empty by default)
@param int $pageSize size of the page where the product was found (optional - is 12 by default)
@param int $origPageSize original size of the page before the user could have changed it (optional - is set equals to $page by default)
@param string $userId id of user (optional if modul personalisation is not used)
@param string $campaign campaign name (optional)
@param boolean $instoreAds determines whether it's a sponsered product (optional)
@return boolean $success