jkrall / analytical

Gem for managing multiple analytics services in your rails app.
MIT License
380 stars 92 forks source link

undefined method `merge' for nil:NilClass #85

Open damienh opened 9 years ago

damienh commented 9 years ago

Hi,

I have installed the gem

and I have been trying to call the methods .identify and .track but get undefined method `merge' for nil:NilClass.

In my config/analytical.yml I have the following:

production: kiss_metrics: js_url_key: '//doug1izaerwt3.cloudfront.net/MYKEY.js'

I have been following https://github.com/gyarra/analytical/wiki/KissMetrics but I am only on step 2.

I am using rails 4.0.1.

Anyone able to provide me some direction or point out where I am going wrong? Do let me know if you need more information.