Categories: None [Edit]
spree_piwik
SpreePiwik
==========
Adds piwik tracking with Ecommerce tracking
Status
------
[](https://travis-ci.org/berkes/spree_piwik)
[](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
----------
.
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: 98,788 of 197,258
Downloads: 8,913
Daily
Ranking: 41,708 of 197,235
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 98 | 507,887,676 | simplecov |
| 124 | 412,878,562 | rspec-rails |
| 145 | 362,566,434 | capybara |
| 146 | 361,080,464 | selenium-webdriver |
| 179 | 302,649,561 | launchy |
| 186 | 296,222,375 | sass-rails |
| 235 | 237,519,406 | coffee-rails |
| 247 | 219,950,714 | database_cleaner |
| 285 | 197,646,337 | sqlite3 |
| 397 | 136,377,411 | spring-commands-rspec |
| 788 | 73,930,339 | ffaker |
| 806 | 71,871,129 | factory_girl |
| 907 | 59,642,762 | therubyracer |
| 2,890 | 6,603,701 | rkelly-remix |
| 3,982 | 3,009,777 | spree_core |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | berkes |