PHP 클래스 Craft\IAnalytics

상속: extends TheIconic\Tracking\GoogleAnalytics\Analytics
파일 보기 프로젝트 열기: nystudio107/instantanalytics 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$shouldSendAnalytics

공개 메소드들

메소드 설명
__construct ( boolean $isSsl = false ) Override __construct() to store whether or not we should be sending Analytics data
__toString ( ) : string Turn an empty value so the twig tags {{ }} can be used
addCommerceCheckoutStep ( $orderModel = null, $step = 1, $option = "" ) Add a checkout step to the Analytics object
addCommerceProductDetailView ( $productVariant = null ) Add a product detail view to the Analytics object
addCommerceProductImpression ( $productVariant = null, integer $index, $listName = "" ) Add a product impression to the Analytics object

비공개 메소드들

메소드 설명
sendHit ( $methodName ) : AnalyticsResponse Override sendHit() so that we can prevent Analytics data from being sent

메소드 상세

__construct() 공개 메소드

Override __construct() to store whether or not we should be sending Analytics data
public __construct ( boolean $isSsl = false )
$isSsl boolean

__toString() 공개 메소드

Turn an empty value so the twig tags {{ }} can be used
public __toString ( ) : string
리턴 string ""

addCommerceCheckoutStep() 공개 메소드

Add a checkout step to the Analytics object
public addCommerceCheckoutStep ( $orderModel = null, $step = 1, $option = "" )

addCommerceProductDetailView() 공개 메소드

Add a product detail view to the Analytics object
public addCommerceProductDetailView ( $productVariant = null )

addCommerceProductImpression() 공개 메소드

Add a product impression to the Analytics object
public addCommerceProductImpression ( $productVariant = null, integer $index, $listName = "" )
$index integer Where the product appears in the list

프로퍼티 상세

$shouldSendAnalytics 보호되어 있는 프로퍼티

protected $shouldSendAnalytics