PHP 클래스 TheIconic\Tracking\GoogleAnalytics\Network\PrepareUrl

Builds the URL.
파일 보기 프로젝트 열기: theiconic/php-ga-measurement-protocol 1 사용 예제들

공개 메소드들

메소드 설명
build ( string $url, array $singleParameters, array $compoundParameters ) : string Build URL which is sent to Google Analytics
getPayloadParameters ( ) : array

비공개 메소드들

메소드 설명
getCompoundParametersPayload ( array $compoundParameters ) : array Prepares compound parameters inside collections to be sent to GA.
getSingleParametersPayload ( array $singleParameters ) : array Prepares all the Single Parameters to be sent to GA.

메소드 상세

build() 공개 메소드

Build URL which is sent to Google Analytics
public build ( string $url, array $singleParameters, array $compoundParameters ) : string
$url string
$singleParameters array
$compoundParameters array
리턴 string

getPayloadParameters() 공개 메소드

public getPayloadParameters ( ) : array
리턴 array