TreasureataのJavaScrip SDKとpageviewタグを自動で挿入します。
MIT License
TreasureataのJavaScript SDKとpageviewタグを自動で挿入します。
gem 'rack-td_js_sdk'
to Gemfile.config.middleware.use Rack::TdJsSdk, database: "foo", write_key: "..."
to config/application.rb
if use Rails4.rails s
!!Add this line to your application's Gemfile:
gem 'rack-td_js_sdk'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-td_js_sdk
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)