ParseCookies(); } } function ParseCookies(){ // Parse __utmz cookie list($domain_hash,$timestamp, $session_number, $campaign_numer, $campaign_data) = split('[\.]', $cookie["__utmz"],5); // Parse the campaign data $campaign_data = parse_str(strtr($campaign_data, "|", "&")); $this->campaign_source = $utmcsr; $this->campaign_name = $utmccn; $this->campaign_medium = $utmcmd; if (isset($utmctr)) $this->campaign_term = $utmctr; if (isset($utmcct)) $this->campaign_content = $utmcct; if (isset($utmgclid)) { $this->campaign_source = "google"; $this->campaign_name = ""; $this->campaign_medium = "cpc"; $this->campaign_content = ""; $this->campaign_term = $utmctr; } // Parse the __utma Cookie list($domain_hash,$random_id,$time_initial_visit,$time_beginning_previous_visit,$time_beginning_current_visit,$session_counter) = split('[\.]', $cookie["__utma"]); $this->first_visit = date("d M Y - H:i",$time_initial_visit); $this->previous_visit = date("d M Y - H:i",$time_beginning_previous_visit); $this->current_visit_started = date("d M Y - H:i",$time_beginning_current_visit); $this->times_visited = $session_counter; // Parse the __utmb Cookie list($domain_hash,$pages_viewed,$garbage,$time_beginning_current_session) = split('[\.]', $cookie["__utmb"]); $this->pages_viewed = $pages_viewed; // End ParseCookies } // End GA_Parse } ?>

Contact us

Join our growing community of healthcare leaders

Stay informed by getting the latest news and exclusive updates from Health Catalyst.

This site uses cookies

We take pride in providing you with relevant, useful content. May we use cookies to track what you read? We take your privacy very seriously. Please see our privacy policy for details and any questions.