Skip to content

evvnt/pixel_analytics_presenter_plugin

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published