Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Latest commit

 

History

History
46 lines (32 loc) · 1.31 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.31 KB

Solidus Trackers

CircleCI

A simple tracker implementation for Solidus.

  • Allows creation of trackers from the admin configuration panel

Installation

Add solidus_trackers to your Gemfile:

gem 'solidus_trackers'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_trackers:install

Usage

Tracking requirements vary greatly between projects; it is difficult to provide an analytics extension that suits the specific needs of everyone. This extension provides a baseline implementation, however, you are encouraged to find a more robust tracking solution for your project.

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, and Rubocop static code analysis. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your application's integration with this extension you may use its factories. Simply add this require statement to your spec_helper:

require 'solidus_trackers/factories'