Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.16 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.16 KB

Pixel Analytics Presenter Plugin

A COPRL presenter plugin that includes Pixel scripts on the page.

Installation

Add this line to your application's Gemfile:

gem 'pixel_analytics_presenter_plugin', git: 'https://github.com/evvnt/pixel_analytics_presenter_plugin'

Globally

To include Pixels on all pages, add the :pixel_analytics plugin to COPRL's global collection of plugins:

Coprl::Presenters::Settings.configure do |c|
  c.presenters.plugins << :pixel_analytics
end

On specific pages

If you don't want pixel Analytics active everywhere, include it in individual POMs as necessary:

plugin :pixel_analytics

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/evvnt/pixel_analytics_presenter_plugin.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the COPRL project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.