You are here

function GA_Parse::__construct in Google Analytics Tokenizer 7

Same name and namespace in other branches
  1. 6 class.gaparse.php \GA_Parse::__construct()

File

./class.gaparse.php, line 35

Class

GA_Parse

Code

function __construct($cookie) {
  if (isset($cookie["__utmz"])) {
    $this->utmz = $cookie["__utmz"];
  }
  if (isset($cookie["__utma"])) {
    $this->utma = $cookie["__utma"];
  }
  $this
    ->ParseCookies();
}