@elbwalker/destination-web-piwikpro
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Piwik PRO web destination for walkerOS

Made to be used with walker.js from walkerOS.

More detailed information and examples can be found in the documentation.

🤓 Usage

Start by setting up the config for the destination. Optional fields as comments. Destinations can be used via node or directly in the browser.

Configuration

Learn more about the destinations in general and read the detailled Piwik PRO configuration.

const config = {
  custom: {
    appId: 'XXX-XXX-XXX-XXX-XXX', // Id of the site
    // linkTracking: false, // Disable download and outlink tracking
    // pageview: false, // Disable default pageview events
    url: 'https://your_account_name.piwik.pro/', // Same address as the login
  },
  mapping: {
    entity: {
      action: {
        custom: {
          // CustomEventConfig
          goalId: 'xxx-xxx-...', // Count the event as a goal
          goalValue: '', // Property to be used as goal value
          name: '', // Renaming the event
          value: '', // Property to be used for the value
        },
      },
    },
  },
};

Node usage

npm i --save @elbwalker/destination-web-piwikpro
import { elb } from '@elbwalker/walker.js';
import destinationPiwikPro from '@elbwalker/destination-web-piwikpro';

elb('walker destination', destinationPiwikPro, config);

Contribute

Feel free to contribute by submitting an issue, starting a discussion or getting in contact.

Package Sidebar

Install

npm i @elbwalker/destination-web-piwikpro

Weekly Downloads

2

Version

1.1.2

License

MIT

Unpacked Size

18.3 kB

Total Files

10

Last publish

Collaborators

  • alexanderkirtzel