PHP Class Pimcore\Google\Analytics

Datei anzeigen Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$defaultPath null
$stack array

Protected Properties

Property Type Description
$additionalCodes array

Public Methods

Method Description
addAdditionalCode ( string $code, string $where = "beforeEnd" )
getCode ( null $config = null ) : string
getDefaultPath ( ) : null
getSiteConfig ( null $site = null ) : boolean
isConfigured ( Site $site = null ) : boolean
setDefaultPath ( $defaultPath )
trackElement ( Pimcore\Model\Element\ElementInterface $element )
trackPageView ( $path )

Method Details

addAdditionalCode() public static method

public static addAdditionalCode ( string $code, string $where = "beforeEnd" )
$code string
$where string

getCode() public static method

public static getCode ( null $config = null ) : string
$config null
return string

getDefaultPath() public static method

public static getDefaultPath ( ) : null
return null

getSiteConfig() public static method

public static getSiteConfig ( null $site = null ) : boolean
$site null
return boolean

isConfigured() public static method

public static isConfigured ( Site $site = null ) : boolean
$site Pimcore\Model\Site
return boolean

setDefaultPath() public static method

public static setDefaultPath ( $defaultPath )
$defaultPath

trackElement() public static method

public static trackElement ( Pimcore\Model\Element\ElementInterface $element )
$element Pimcore\Model\Element\ElementInterface

trackPageView() public static method

public static trackPageView ( $path )
$path

Property Details

$additionalCodes protected_oe static_oe property

protected static array $additionalCodes
return array

$defaultPath public_oe static_oe property

public static null $defaultPath
return null

$stack public_oe static_oe property

public static array $stack
return array