I tried to install google analytics on a Rails 5 website adding the Google Analytics Tracking Script created by Jonathon Wolfe and provided on Nick Reed’s Turbolinks Compatibility site.
- I replaced UA-XXXXXXX-XX with my Google Analytics tracking ID
- the file app/assets/javascripts/application.js has the //= require_tree . directive
- I deployed to heroku as described in Analytics for Rails
- I did not include the rails_12factor gem as in https://github.com/heroku/rails_12factor says.
Google Analytics still don't get tracking data from my website. What am I missing?