diff --git a/frontend/views/articles/show.php b/frontend/views/articles/show.php index 7f26270..360b16c 100755 --- a/frontend/views/articles/show.php +++ b/frontend/views/articles/show.php @@ -1,14 +1,17 @@ title = $news->meta_title; $this->params['seo']['title'] = !empty($this->title) ?$this->title :$news->title; $this->registerMetaTag(['name' => 'description', 'content' => $news->meta_description]); - +$this->registerJs(" + _gaq.push(['_setCustomVar',2,'Author','".$author."',3]); +", View::POS_HEAD); ?>