You are here

private function ssga::setCookieVariables in GA Push 7

1 call to ssga::setCookieVariables()
ssga::__construct in libs/ssga.class.inc

File

libs/ssga.class.inc, line 43
SSGA Class implementation

Class

ssga
Class created for serversidegoogleanalytics http://code.google.com/p/serversidegoogleanalytics/

Code

private function setCookieVariables() {
  $today = time();
  $this->utmcc = '__utma=1.' . rand(10000000, 99999999) . "00145214523" . '.' . rand(1000000000, 2147483647) . '.' . $today . '.' . $today . '.15;+__utmz=1.' . $today . '.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);';
}