Example #1
0
 /**
  * should we include the universal snippet
  *
  * @return bool
  */
 public function shouldInclude()
 {
     if (parent::shouldInclude()) {
         return $this->isUniversalEnabled() && (bool) $this->getUniversalAccount();
     } else {
         return false;
     }
 }
 /**
  * are we using dynamic remarketing
  *
  * @return bool
  */
 public function shouldInclude()
 {
     if (parent::shouldInclude()) {
         return Mage::getStoreConfigFlag('google/analyticsplus_dynremarketing/enabled') && $this->getConversionId();
     } else {
         return false;
     }
 }