添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

ember-cli-matomo-tag-manager

1.3.1 Public • Published

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 Param Required Usage Default value 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