Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Upgrade to v2 of KISSmetrics script

Latest
Compare
Choose a tag to compare
@jonathanpike jonathanpike released this 14 Jul 01:59

Since 2012, the KISSmetrics JS script was updated to v2 (as indicated in
the URL -> scripts.kissmetrics.com/<api_key>.2.js). This updates the
script code that's injected with km.js.

Other changes:

  • Extract KissmetricsAPI into separate file
  • Make :kissmetrics_api_key and :output_strategy class attr_accessors
    rather than a methods you need to override
  • Update ruby syntax to > 1.9
  • Update rspec syntax to 3