This problem was originally posted on Google Analytics Contact Form, Webform, Rules Email,

theres a bug in class.gaparse.php that make impossible to show Keyword longer than 2 words.

original code (with wrong %s, that remove all after %20 char)

  function ParseCookies(){
  // Parse __utmz cookie
  if (isset($this->utmz)) {
    list($domain_hash,$timestamp, $session_number, $campaign_numer, $campaign_data) = sscanf($this->utmz, '%d.%d.%d.%d.%s');

the solved with a regular expressionthat include all char

  function ParseCookies(){
  // Parse __utmz cookie
  if (isset($this->utmz)) {
    list($domain_hash,$timestamp, $session_number, $campaign_numer, $campaign_data) = sscanf($this->utmz, '%d.%d.%d.%d.%[^.]');

Bye.

Comments

Brian294’s picture

Assigned: Dret » Brian294
Status: Fixed » Needs review

Commited to -dev version. It should be available when git refreshes with drupal.org. Please test it out when it becomes available and let me know what happens.

Brian294’s picture

Status: Needs review » Closed (fixed)

Forgot to close this out. Spring cleaning!