/solidus_trackers

:bar_chart: Google analytics Tracker functionality extracted from Solidus 2.1

Primary LanguageRubyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Solidus Trackers

Build Status

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

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 applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'solidus_trackers/factories'