remove google-analytics middleware due to the fact that it doesn't support...
remove google-analytics middleware due to the fact that it doesn't support injection of custom variables before _trackPageView is called (this results in custom vars not getting tracked) i've submitted an issue to the gem. hopefully we can put it back in later… for now i've copy and pasted its output into a helper method.
parent
b3e3f981
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- Gemfile 0 ajout, 1 suppressionGemfile
- Gemfile.lock 0 ajout, 2 suppressionsGemfile.lock
- app/helpers/analytics_helper.rb 33 ajouts, 0 suppressionapp/helpers/analytics_helper.rb
- app/helpers/application_helper.rb 0 ajout, 6 suppressionsapp/helpers/application_helper.rb
- app/views/layouts/application.html.haml 1 ajout, 1 suppressionapp/views/layouts/application.html.haml
- app/views/layouts/post.html.haml 1 ajout, 1 suppressionapp/views/layouts/post.html.haml
- config/initializers/load_analyitics.rb 0 ajout, 5 suppressionsconfig/initializers/load_analyitics.rb
... | ... | @@ -37,7 +37,6 @@ gem "rpm_contrib", "~> 2.1.7" |
group :production do # we don't install these on travis to speed up test runs | ||
gem 'rack-ssl', :require => 'rack/ssl' | ||
gem 'rack-rewrite', '~> 1.2.1', :require => false | ||
gem 'rack-google-analytics', :require => 'rack/google-analytics' | ||
gem 'rack-piwik', :require => 'rack/piwik' | ||
end | ||
... | ... |
app/helpers/analytics_helper.rb
0 → 100644
Veuillez vous inscrire ou vous se connecter pour commenter