From ecfeb9c47281bc4d2b805e9b147b4eaa00f88fae Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 13 Feb 2017 19:20:57 +0200 Subject: [PATCH] ga tests --- frontend/views/articles/show.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/frontend/views/articles/show.php b/frontend/views/articles/show.php index 0c31cba..ba87d72 100755 --- a/frontend/views/articles/show.php +++ b/frontend/views/articles/show.php @@ -11,6 +11,7 @@ $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']); ", View::POS_END); ?> -- libgit2 0.21.4