Skip to content

📊 Google analytics Tracker functionality extracted from Solidus 2.1

License

Notifications You must be signed in to change notification settings

jtapia/solidus_trackers

 
 

Repository files navigation

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'

About

📊 Google analytics Tracker functionality extracted from Solidus 2.1

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 62.6%
  • HTML 35.0%
  • CSS 1.2%
  • JavaScript 1.2%