src/Network/PrepareUrl.php
private function getSingleParametersPayload(array $singleParameters)
    {
        $postData = [];
        $cacheBuster = new CacheBuster();

        foreach ($singleParameters as $parameterObj) {
            if ($parameterObj->getName() === $cacheBuster->getName()) {
                $this->cacheBuster = $parameterObj->getValue();
                continue;
            }

            $postData[$parameterObj->getName()] = $parameterObj->getValue();
        }

        return $postData;
    }
private function getSingleParametersPayload(array $singleParameters)
    {
        $postData = [];
        $cacheBuster = new CacheBuster();

        foreach ($singleParameters as $parameterObj) {
            if ($parameterObj->getName() === $cacheBuster->getName()) {
                $this->cacheBuster = $parameterObj->getValue();
                continue;
            }

            $postData[$parameterObj->getName()] = $parameterObj->getValue();
        }

        return $postData;
    }
Prepares all the Single Parameters to be sent to GA.

@param SingleParameter[] $singleParameters
@return array