public function enableCookies($domain = '', $path = '/')
    {
        $this->configCookiesDisabled = false;
        $this->configCookieDomain = self::domainFixup($domain);
        $this->configCookiePath = $path;
    }
public function enableCookies($domain = '', $path = '/')
    {
        $this->configCookiesDisabled = false;
        $this->configCookieDomain = self::domainFixup($domain);
        $this->configCookiePath = $path;
    }
public function enableCookies ( $ domain = '' , $ path = '/' ) { $ this -> configCookiesDisabled = false ; $ this -> configCookieDomain = self :: domainFixup ( $ domain ) ; $ this -> configCookiePath = $ path ; }
Enable Cookie Creation - this will cause a first party VisitorId cookie to be set when the VisitorId is set or reset

@param string $domain (optional) Set first-party cookie domain.
Accepted values: example.com, *.example.com (same as .example.com) or subdomain.example.com
@param string $path (optional) Set first-party cookie path
Enable Cookie Creation - this will cause a first party VisitorId cookie to be set when the VisitorId is set or reset