New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ember-cli-matomo-tag-manager

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-matomo-tag-manager

Ember addon to integrate Matomo Tag Manager

latest
Source
npmnpm
Version
1.3.1
Version published
Maintainers
5
Created
Source

ember-cli-matomo-tag-manager

This Ember addon helps you to integrate Matomo Tag Manager to your application.

Simply said, Matomo Tag Manager is a plugin that takes Matomo Analytics to the next level. Similar to how a CMS brings you all the flexibility to publish content for your website, a Tag Management System (TMS) will allow you to easily embed 1st and 3rd party application resources into your website.

Compatibility

  • Ember.js v3.16 or above
  • Ember CLI v2.13 or above
  • Node.js v10 or above

Installation

ember install ember-cli-matomo-tag-manager

Usage

First, add the ember-cli-matomo-tag-manager dependency to your project :

ember install ember-cli-matomo-tag-manager

Then, in your config file config/environment.js, declare your Matomo tags container URL :

// config/environment.js

module.exports = function(environment) {
  let ENV = {

    // ...

    APP: {
      // Here you can pass flags/options to your application instance
      // when it is created
    },

    matomo: {
      url: 'https://stats.pix.fr/js/container_rvRH7IMW.js'
    }

  };
  
  // ...

  return ENV;
};

And, voilà!

Configuration

ParamTypeRequiredUsageDefault value
urlstringyesMatomo TMS container URLnull
debugbooleannoEnable Matomo debug logsfalse

Example

Have a look on the dummy app (in tests/dummy/app) to see the addon in action.

You can see the data results on https://stats.pix.fr/index.php, for project "ember-cli-matomo-tag-manager".

Contributing

See the Contributing guide for details.

Releasing

Execute script ./scripts/publish.sh [X.Y.Z].

License

This project is licensed under the MIT License.

Keywords

ember-addon

FAQs

Package last updated on 19 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts