Skip to content

Setting Google Analytics

funao edited this page Dec 13, 2016 · 1 revision

Setting Google Analytics

1: Access this site and Regist your site

https://analytics.google.com/analytics/

2: Get Your Tracking-ID

https://support.google.com/analytics/answer/1032385

3: Set Tracking-ID in notee.rb

edit in config/initializers/notee.rb

require 'notee'

# Recommendation using .env

Notee.configure do |config|

  ....

  # google-analytics
  config.google_analytics = "Tracking-ID"
end