public function getJavascriptTag(
        $matomoUrl,
        $mergeSubdomains = '',
        $groupPageTitlesByDomain = '',
        $mergeAliasUrls = '',
        $visitorCustomVariables = '',
        $pageCustomVariables = '',
        $customCampaignNameQueryParam = '',
        $customCampaignKeywordParam = '',
        $doNotTrack = '',
        $disableCookies = '',
        array $optional = []
    )
    {
        return $this->_request('SitesManager.getJavascriptTag', [
            'piwikUrl' => $matomoUrl,
            'mergeSubdomains' => $mergeSubdomains,
            'groupPageTitlesByDomain' => $groupPageTitlesByDomain,
            'mergeAliasUrls' => $mergeAliasUrls,
            'visitorCustomVariables' => $visitorCustomVariables,
            'pageCustomVariables' => $pageCustomVariables,
            'customCampaignNameQueryParam' => $customCampaignNameQueryParam,
            'customCampaignKeywordParam' => $customCampaignKeywordParam,
            'doNotTrack' => $doNotTrack,
            'disableCookies' => $disableCookies,
        ], $optional);
    }
public function getJavascriptTag(
        $matomoUrl,
        $mergeSubdomains = '',
        $groupPageTitlesByDomain = '',
        $mergeAliasUrls = '',
        $visitorCustomVariables = '',
        $pageCustomVariables = '',
        $customCampaignNameQueryParam = '',
        $customCampaignKeywordParam = '',
        $doNotTrack = '',
        $disableCookies = '',
        array $optional = []
    )
    {
        return $this->_request('SitesManager.getJavascriptTag', [
            'piwikUrl' => $matomoUrl,
            'mergeSubdomains' => $mergeSubdomains,
            'groupPageTitlesByDomain' => $groupPageTitlesByDomain,
            'mergeAliasUrls' => $mergeAliasUrls,
            'visitorCustomVariables' => $visitorCustomVariables,
            'pageCustomVariables' => $pageCustomVariables,
            'customCampaignNameQueryParam' => $customCampaignNameQueryParam,
            'customCampaignKeywordParam' => $customCampaignKeywordParam,
            'doNotTrack' => $doNotTrack,
            'disableCookies' => $disableCookies,
        ], $optional);
    }
public function getJavascriptTag ( $ matomoUrl , $ mergeSubdomains = '' , $ groupPageTitlesByDomain = '' , $ mergeAliasUrls = '' , $ visitorCustomVariables = '' , $ pageCustomVariables = '' , $ customCampaignNameQueryParam = '' , $ customCampaignKeywordParam = '' , $ doNotTrack = '' , $ disableCookies = '' , array $ optional = [ ] ) { return $ this -> _request ( 'SitesManager.getJavascriptTag' , [ 'piwikUrl' => $ matomoUrl , 'mergeSubdomains' => $ mergeSubdomains , 'groupPageTitlesByDomain' => $ groupPageTitlesByDomain , 'mergeAliasUrls' => $ mergeAliasUrls , 'visitorCustomVariables' => $ visitorCustomVariables , 'pageCustomVariables' => $ pageCustomVariables , 'customCampaignNameQueryParam' => $ customCampaignNameQueryParam , 'customCampaignKeywordParam' => $ customCampaignKeywordParam , 'doNotTrack' => $ doNotTrack , 'disableCookies' => $ disableCookies , ] , $ optional ) ; }
Get the JS tag of the current site

@param string $matomoUrl
@param string $mergeSubdomains
@param string $groupPageTitlesByDomain
@param string $mergeAliasUrls
@param string $visitorCustomVariables
@param string $pageCustomVariables
@param string $customCampaignNameQueryParam
@param string $customCampaignKeywordParam
@param string $doNotTrack
@param string $disableCookies
@param array $optional
@return bool|object
@throws InvalidRequestException
Get the JS tag of the current site