diff --git a/frontend/views/articles/show.php b/frontend/views/articles/show.php index ba87d72..c2f9274 100755 --- a/frontend/views/articles/show.php +++ b/frontend/views/articles/show.php @@ -10,8 +10,9 @@ $this->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]); - _gaq(['_trackPageview']); + + ga('set', 'author', '".$author."'); + ga('send', 'pageview'); ", View::POS_END); ?> -- libgit2 0.21.4