sebfie / solidus_trackers

:bar_chart: Google analytics Tracker functionality extracted from Solidus 2.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

About

:bar_chart: Google analytics Tracker functionality extracted from Solidus 2.1

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 64.8%Language:HTML 32.1%Language:CSS 1.6%Language:JavaScript 1.5%