Commit 823156238837c6ba820e186369c83d16bc18ad81

Authored by Alex Savenko
1 parent a59d8a37

ga tests

Showing 1 changed file with 1 additions and 3 deletions   Show diff stats
frontend/views/articles/show.php
@@ -8,9 +8,7 @@ use yii\widgets\Breadcrumbs; @@ -8,9 +8,7 @@ use yii\widgets\Breadcrumbs;
8 $this->title = $news->meta_title; 8 $this->title = $news->meta_title;
9 $this->params['seo']['title'] = !empty($this->title) ?$this->title :$news->title; 9 $this->params['seo']['title'] = !empty($this->title) ?$this->title :$news->title;
10 $this->registerMetaTag(['name' => 'description', 'content' => $news->meta_description]); 10 $this->registerMetaTag(['name' => 'description', 'content' => $news->meta_description]);
11 -$this->registerJs("  
12 - _gaq.push(['_setCustomVar',2,'Author','".$author."',3]);  
13 -", View::POS_READY); 11 +
14 ?> 12 ?>
15 13
16 <nav class="bread-crumbs"> 14 <nav class="bread-crumbs">