Метод | Описание | |
---|---|---|
__construct ( Gpf_Api_Session $session ) | This class requires correctly initialized merchant session | |
createAction ( string $actionCode = '' ) : Pap_Tracking_ActionObject | Creates and returns new action | |
createSale ( ) : Pap_Tracking_ActionObject | Creates and returns new sale | |
getAffiliate ( ) : Gpf_Rpc_Data | ||
getCampaign ( ) : Gpf_Rpc_Data | ||
getChannel ( ) : Gpf_Rpc_Data | ||
getVisitorId ( ) | ||
save3rdPartyCookiesOnly ( $cookieDomainValidity = null ) | ||
saveCookies ( ) | ||
setAccountId ( $accountId ) | ||
setVisitorId ( $visitorId ) | ||
track ( ) |
Метод | Описание | |
---|---|---|
getGetParams ( ) : Gpf_Net_Http_Request | ||
getIp ( ) | ||
getOldCookies ( ) | ||
getReferrerUrl ( ) | ||
getSaleParams ( ) | ||
getUrl ( ) | ||
getUserAgent ( ) | ||
save3rdPartyCookie ( $name, $value, $expire, $overwrite, $cookieDomainValidity = null ) | ||
sendRequest ( Gpf_Net_Http_Request $request ) | ||
setQueryParams ( Gpf_Net_Http_Request $request ) |
Метод | Описание | |
---|---|---|
getData ( &$data, $method, $primaryKeyName ) | ||
getServerName ( ) | ||
includeJavascript ( ) | ||
parseResponse ( ) | Parses track.php response. Response can be empty or setVisitor('4c5e2151b8856e55dbfeb247c22300Hg'); | |
saveCookiesByJavascript ( ) |
public __construct ( Gpf_Api_Session $session ) | ||
$session | Gpf_Api_Session |
public createAction ( string $actionCode = '' ) : Pap_Tracking_ActionObject | ||
$actionCode | string | |
Результат | Pap_Tracking_ActionObject |
public createSale ( ) : Pap_Tracking_ActionObject | ||
Результат | Pap_Tracking_ActionObject |
protected getGetParams ( ) : Gpf_Net_Http_Request | ||
Результат | Gpf_Net_Http_Request |
protected save3rdPartyCookie ( $name, $value, $expire, $overwrite, $cookieDomainValidity = null ) |
public save3rdPartyCookiesOnly ( $cookieDomainValidity = null ) |
protected sendRequest ( Gpf_Net_Http_Request $request ) | ||
$request | Gpf_Net_Http_Request |
protected setQueryParams ( Gpf_Net_Http_Request $request ) | ||
$request | Gpf_Net_Http_Request |