Skip to content

An Ember addon that will setup and inject the Piwik tracking script into your app at build time.

License

Notifications You must be signed in to change notification settings

km-smith/ember-cli-piwik

Repository files navigation

ember-cli-piwik

Build Status

This addon will setup and inject the Piwik tracking script into your app at build time. At runtime you will be able to use window._paq as described in the piwik developer guide.

Project Status - 🛑 DEPRECATED 🛑

Please use ember-metrics for your piwik (and other tracking script) setup needs.

Usage

Installation

ember install @kysmith/ember-cli-piwik

Configuration

This addon requires you to set options in your apps environment config file config/environment.js.

piwik: {
  sid: 123,
  url: 'https://your-piwik.endpoint.com'
}

Contributing

Installation

  • git clone <repository-url> this repository
  • cd ember-cli-piwik
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

Acknowledgements

This addon is heavily based on unwiredbrain/ember-cli-piwik

About

An Ember addon that will setup and inject the Piwik tracking script into your app at build time.

Resources

License

Stars

Watchers

Forks

Packages

No packages published