Skip to main content

Piwik PRO

Web Source code Package

Piwik PRO is a European, privacy-focused web analytics and marketing platform that helps businesses track website traffic and user behavior. The destination automatically sends events to Piwik Pro via push function. All you need to do is install the destination, and optionally map events to Piwik Pro's format. walkerOS takes care of loading the script and the function calls.

Installation

npm install @walkeros/web-destination-piwikpro

Setup

import { startFlow } from '@walkeros/collector';
import { destinationPiwikPro } from '@walkeros/web-destination-piwikpro';

const { elb } = await startFlow();

elb('walker destination', destinationPiwikPro, {
settings: {
appId: 'XXX-XXX-XXX-XXX-XXX', // Required
url: 'https://your_account_name.piwik.pro/', // Required
},
});

Configuration reference

PropertyTypeDescriptionMore
appId*stringID of the Piwik PRO site
url*stringURL of your Piwik PRO account
linkTrackingbooleanEnables/Disables download and outlink tracking
* Required fields
Settings
Result

Event Mapping

For custom event mapping (mapping.entity.action.settings):

PropertyTypeDescriptionMore
goalIdstringID to count the event as a goal
goalValuestringProperty to be used as the goal value

Mapping examples

tip

The code examples are interactive. You can edit the code to generate your individual event mapping.

ProductDetailView

Map your walkerOS event to get an ecommerceProductDetailView event.

Event
Mapping
Result

AddToCart

Map your walkerOS event to get an ecommerceAddToCart event.

Event
Mapping
Result

CartUpdate

Map your walkerOS event to get an ecommerceCartUpdate event.

Event
Mapping
Result

Order

Map your walkerOS event to get an ecommerceOrder event.

Event
Mapping
Result
💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.