Browse Source

Suppression Google Analytics #381

refactoring
Guillaume Bourgeois 2 years ago
parent
commit
b9d2d5636f
4 changed files with 0 additions and 15 deletions
  1. +0
    -1
      backend/views/layouts/main.php
  2. +0
    -10
      common/views/_analytics.php
  3. +0
    -3
      frontend/views/layouts/main.php
  4. +0
    -1
      producer/views/layouts/main.php

+ 0
- 1
backend/views/layouts/main.php View File



<script type="text/javascript" src="https://cdn.polyfill.io/v3/polyfill.min.js?features=Intl.~locale.fr"></script> <script type="text/javascript" src="https://cdn.polyfill.io/v3/polyfill.min.js?features=Intl.~locale.fr"></script>
<?php $this->endBody() ?> <?php $this->endBody() ?>
<?= $this->render('@common/views/_analytics.php'); ?>


</body> </body>
</html> </html>

+ 0
- 10
common/views/_analytics.php View File

<!-- analytics -->
<script>
(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','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-86917043-1', 'auto');
ga('send', 'pageview');
</script>

+ 0
- 3
frontend/views/layouts/main.php View File

</footer> </footer>
<?php $this->endBody() ?> <?php $this->endBody() ?>
<?= $this->render('@common/views/_analytics.php'); ?>
</body> </body>
</html> </html>
<?php $this->endPage() ?> <?php $this->endPage() ?>

+ 0
- 1
producer/views/layouts/main.php View File

</footer> </footer>
<script type="text/javascript" src="https://cdn.polyfill.io/v3/polyfill.min.js?features=Intl.~locale.fr"></script> <script type="text/javascript" src="https://cdn.polyfill.io/v3/polyfill.min.js?features=Intl.~locale.fr"></script>
<?php $this->endBody() ?> <?php $this->endBody() ?>
<?= $this->render('@common/views/_analytics.php'); ?>
</body> </body>
</html> </html>
<?php $this->endPage() ?> <?php $this->endPage() ?>

Loading…
Cancel
Save