GoogleAnalytics: remove
This commit is contained in:
parent
eccb73f167
commit
b30d0c2785
4 changed files with 0 additions and 11 deletions
|
@ -1,9 +0,0 @@
|
|||
- ua_id = Rails.env.production? ? 'UA-63927236-2' : 'UA-63927236-4'
|
||||
:javascript
|
||||
(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_id}', 'auto');
|
||||
ga('send', 'pageview');
|
|
@ -49,4 +49,3 @@
|
|||
= render partial: 'layouts/switch_devise_profile_module'
|
||||
|
||||
= render partial: 'layouts/footer', locals: { main_container_size: main_container_size }
|
||||
= render partial: 'layouts/google_analytics'
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
- if content_for?(:display_footer)
|
||||
= render partial: "layouts/new_footer"
|
||||
= render partial: "layouts/google_analytics"
|
||||
= render partial: "layouts/mailjet_newsletter"
|
||||
|
||||
= javascript_include_tag "new_design/application", "data-turbolinks-eval": false
|
||||
|
|
Loading…
Reference in a new issue