A COPRL presenter plugin that includes Pixel scripts on the page.
Add this line to your application's Gemfile:
gem 'pixel_analytics_presenter_plugin', git: 'https://github.com/evvnt/pixel_analytics_presenter_plugin'
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
If you don't want pixel Analytics active everywhere, include it in individual POMs as necessary:
plugin :pixel_analytics
Bug reports and pull requests are welcome on GitHub at https://github.com/evvnt/pixel_analytics_presenter_plugin.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the COPRL project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.