Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #480 from ins0/feature/analytics
Browse files Browse the repository at this point in the history
Feature: added google analytics code
  • Loading branch information
localheinz committed Mar 7, 2015
2 parents 063fb6d + efa37d8 commit 94e4341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Application/view/layout/layout.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
</p>
</div>
</footer>

<?php $this->inlineScript()->appendScript("(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39824791-1', 'auto'); ga('send', 'pageview');"); ?>
<?php $this->inlineScript()->prependFile($this->basePath('js/bootstrap.min.js')); ?>
<?php $this->inlineScript()->prependFile($this->basePath('js/jquery-1.11.2.min.js')); ?>
<?php echo $this->inlineScript(); ?>
Expand Down

0 comments on commit 94e4341

Please sign in to comment.