Permalink
Browse files

adding fix for #212

properly setting medium when tracking feeds under wordpress.
  • Loading branch information...
padams
padams committed Nov 30, 2010
1 parent 8c9089a commit ae37e39f32226bfa7aeb1bfdfa4415a9f7a61138
Showing with 2 additions and 2 deletions.
  1. +1 −1 modules/base/classes/event.php
  2. +1 −1 owa_wp.php
@@ -155,7 +155,7 @@ function setProperties($properties = null) {
if (empty($this->properties)) {
$this->properties = $properties;
} else {
$this->properties = array_merge($properties, $this->properties);
$this->properties = array_merge($this->properties, $properties);
}
}
}
@@ -62,7 +62,7 @@ function add_link_tracking($link) {
return sprintf($link_template,
$link,
$this->config['ns'].$this->config['source_param'],
$this->config['ns'].'medium',
'feed',
$this->config['ns'].$this->config['feed_subscription_param'],
$_GET[$this->config['ns'].$this->config['feed_subscription_param']]);

0 comments on commit ae37e39

Please sign in to comment.