You are here

public function ssga::__construct in GA Push 7

File

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

Class

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

Code

public function __construct() {
  $this
    ->setUtmhid();
  $this
    ->setCharset();
  $this
    ->setCookieVariables();
  $this->utmhn = $_SERVER['HTTP_HOST'];

  // Host name (www.elements.at)
  $this->utmcs = 'UTF-8';

  // Charset
  $this->utmul = $_SERVER['HTTP_ACCEPT_LANGUAGE'];

  // Language
}