PHP Class Piwik\Plugins\Actions\Actions\ActionSiteSearch

- Its name is the search keyword - by default the URL is not recorded (since it's not used) - tracks site search result count and site search category as custom variables
Inheritance: extends Piwik\Tracker\Action
ファイルを表示 Open project: piwik/piwik

Public Methods

Method Description
__construct ( Request $request, $detect = true )
detectSiteSearch ( $originalUrl )
getCustomFloatValue ( )
getCustomVariables ( )
getIdActionNameForEntryAndExitIds ( )
getIdActionUrl ( )
getIdActionUrlForEntryAndExitIds ( )
shouldHandle ( Request $request )

Protected Methods

Method Description
detectSiteSearchFromUrl ( $website, $parsedUrl )
getActionsToLookup ( )
isSearchDetected ( )
isValidSearchCount ( $count )

Method Details

__construct() public method

public __construct ( Request $request, $detect = true )
$request Piwik\Tracker\Request

detectSiteSearch() public method

public detectSiteSearch ( $originalUrl )

detectSiteSearchFromUrl() protected method

protected detectSiteSearchFromUrl ( $website, $parsedUrl )

getActionsToLookup() protected method

protected getActionsToLookup ( )

getCustomFloatValue() public method

public getCustomFloatValue ( )

getCustomVariables() public method

public getCustomVariables ( )

getIdActionNameForEntryAndExitIds() public method

getIdActionUrl() public method

public getIdActionUrl ( )

getIdActionUrlForEntryAndExitIds() public method

isSearchDetected() protected method

protected isSearchDetected ( )

isValidSearchCount() protected method

protected isValidSearchCount ( $count )

shouldHandle() public static method

public static shouldHandle ( Request $request )
$request Piwik\Tracker\Request