Categories: None [Edit]

spree_piwik

https://rubygems.org/gems/spree_piwik
SpreePiwik ========== Adds piwik tracking with Ecommerce tracking Status ------ [![Build Status](https://travis-ci.org/berkes/spree_piwik.svg?branch=develop)](https://travis-ci.org/berkes/spree_piwik) [![Code Climate](https://codeclimate.com/github/berkes/spree_piwik/badges/gpa.svg)](https://codeclimate.com/github/berkes/spree_piwik) Installation ------------ Add spree_piwik to your Gemfile: ```ruby gem 'spree_piwik' ``` Bundle your dependencies and run the installation generator: ```shell bundle bundle exec rails g spree_piwik:install ``` Add your Piwik URL and site-id to the `config/initializers/spree_piwik.rb` For example: ```ruby Spree::Piwik::Config[:piwik_url] = "piwik.example.com" Spree::Piwik::Config[:piwik_id] = 1337 ``` Will use http(s)://piwik.example.com/ as url for your Piwik. And track stats for the site that has the id 1337 in Piwik. Screenshot ---------- ![Screenshot of the Ecommerce functionality in action with this extension](doc/spree_piwik.png). Testing ------- First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`. ```shell bundle bundle exec rake ``` When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper: License ------- SpreePiwik is released under the [New BSD License](https://github.com/spree/spree/blob/master/license.md) similar to Spree.

Total

Ranking: 97,646 of 187,255
Downloads: 8,181

Daily

Ranking: 77,202 of 187,239
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
99421,256,244simplecov
117351,070,406rspec-rails
135310,223,998capybara
137308,568,292selenium-webdriver
162273,715,147sass-rails
170261,536,816launchy
204221,534,313coffee-rails
223197,197,036database_cleaner
274163,802,561sqlite3
352123,033,401spring-commands-rspec
74268,613,115factory_girl
75267,763,122ffaker
84458,587,826therubyracer
2,7955,804,538rkelly-remix
3,8172,680,163spree_core

Owners

#GravatarHandle
1iconberkes