Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Versionfile
Octocat-spinner-32 spree_analytics.gemspec
README.md

Spree Analytics

Spree Analytics were integrated into Spree in v1.0, you only need this extension if you are using an older version of Spree

Spree Extension for robust analytics tailored for ecommerce merchants.

Provides a transparent view into your store performance so that you can make better-informed decisions to increase your revenues. Tracks metrics that are relevant and actionable for store managers, not web masters. Key information like trending products, revenue per customer, etc., can be easily compiled because of the deep integration with Spree

Installation

  1. add spree_analytics to your gemfile
gem 'spree_analytics', :git => "git@github.com:spree/spree_analytics.git"
  1. create an initializer file in config/initializers/spree_analytics.rb
SpreeAnalytics.app_id = <APP_ID>
SpreeAnalytics.site_id = <SITE_ID>
SpreeAnalytics.token = "<TOKEN>"

Testing

Note: the spec/dummy/config/routes.rb file gets created with an incorrect engine name. It should be SpreeAnalytics::Engine.

Be sure to add the rspec-rails gem to your Gemfile and then create a dummy test app for the specs to run against.

$ bundle exec rake test_app
$ bundle exec rake spec

Copyright (c) 2011 Spree Commerce

Something went wrong with that request. Please try again.